1. 程式人生 > 遊戲攻略 >《原神攻略》風行迷蹤活動進階攻略

《原神攻略》風行迷蹤活動進階攻略

function object(o) {
	function F() {}
	F.prototype = o;
	return new F();
}
var mm = object({name:'123'});

let animal = {
  eats: true
};
let rabbit = Object.create(animal);

console控制檯列印
在這裡插入圖片描述