{"compress":true,"commitItems":[["f8ea24db-cf1a-4fc2-9e13-a663e647281e",1553221570508,"---\nlayout: post\ntitle: ES6计算属性\nsubtitle: \ndate: 2019-03-14\nauthor: Song\nheader-img: img/post-bg-coding.jpg\ncatalog: true\ntags:\n - ES6 计算属性\n---\n\n",[[1553221513200,["Administrator@PC-20181117PMVI",[[-1,74,"14"]],[76,76],[74,74]]],[1553221513603,["Administrator@PC-20181117PMVI",[[1,74,"22"]],[74,74],[76,76]]],[1553221518250,["Administrator@PC-20181117PMVI",[[-1,33,"ES6计算属性"]],[40,40],[33,33]]],[1553221524860,["Administrator@PC-20181117PMVI",[[1,33,"prototypeh"]],[33,33],[43,43]]],[1553221525407,["Administrator@PC-20181117PMVI",[[-1,42,"h"]],[43,43],[42,42]]],[1553221526661,["Administrator@PC-20181117PMVI",[[1,42,"合"]],[42,42],[43,43]]],[1553221527717,["Administrator@PC-20181117PMVI",[[-1,42,"合"]],[43,43],[42,42]]],[1553221533365,["Administrator@PC-20181117PMVI",[[1,42,"和__proto__"]],[42,42],[52,52]]],[1553221537934,["Administrator@PC-20181117PMVI",[[-1,167,"ES6 计算属性"],[1,175,"p"]],[167,175],[168,168]]],[1553221543325,["Administrator@PC-20181117PMVI",[[1,168,"rototype __proto__"]],[168,168],[186,186]]],[1553221546265,["Administrator@PC-20181117PMVI",[[1,191,"1. **prototype** 是函数(function) 的一个属性, 它指向函数的原型.\n2. **__proto__** 是对象的内部属性, 它指向构造器的原型, 对象依赖它进行原型链查询.\n\n由上, **prototype** 只有函数才有, 其他(非函数)对象不具有该属性. 而 **__proto__** 是对象的内部属性, 任何对象都拥有该属性."]],[191,191],[374,374]]]],null,"Administrator@PC-20181117PMVI"],["57586e30-ec8a-4077-9428-135d7a044bbf",1553225634824,"---\nlayout: post\ntitle: prototype和__proto__\nsubtitle: \ndate: 2019-03-22\nauthor: Song\nheader-img: img/post-bg-coding.jpg\ncatalog: true\ntags:\n - prototype __proto__\n---\n1. **prototype** 是函数(function) 的一个属性, 它指向函数的原型.\n2. **__proto__** 是对象的内部属性, 它指向构造器的原型, 对象依赖它进行原型链查询.\n\n由上, **prototype** 只有函数才有, 其他(非函数)对象不具有该属性. 而 **__proto__** 是对象的内部属性, 任何对象都拥有该属性.\n",[[1553225613399,["Administrator@PC-20181117PMVI",[[1,375,"\n"]],[374,374],[375,375]]],[1553225629744,["Administrator@PC-20181117PMVI",[[1,375,"![1]($resource/1.png)\n![2]($resource/2.png)\n"]],[375,375],[419,419]]],[1553225731135,["Administrator@PC-20181117PMVI",[[1,375,"\n"]],[374,374],[375,375]]],[1553225745553,["Administrator@PC-20181117PMVI",[[-1,208," "],[1,209," "],[-1,257," "],[1,258," "],[-1,297," "],[1,298," "],[-1,311," "],[1,312," "],[-1,338," "],[1,339," "],[-1,352," "],[1,353," "],[1,375,"function Person(){}"]],[375,375],[394,394]]],[1553225748939,["Administrator@PC-20181117PMVI",[[1,390," "]],[390,390],[391,391]]],[1553225749705,["Administrator@PC-20181117PMVI",[[1,393," "]],[393,393],[394,394]]],[1553225751753,["Administrator@PC-20181117PMVI",[[1,397,"\n"]],[396,396],[397,397]]],[1553225756813,["Administrator@PC-20181117PMVI",[[1,397,"let person = e"]],[397,397],[411,411]]],[1553225757314,["Administrator@PC-20181117PMVI",[[-1,410,"e"]],[411,411],[410,410]]],[1553225760898,["Administrator@PC-20181117PMVI",[[1,410,"new Person();"]],[410,410],[423,423]]],[1553225762085,["Administrator@PC-20181117PMVI",[[-1,422,";"]],[423,423],[422,422]]],[1553225767949,["Administrator@PC-20181117PMVI",[[1,375,"`"]],[375,375],[376,376]]],[1553225769224,["Administrator@PC-20181117PMVI",[[1,423,"`"]],[423,423],[424,424]]],[1553225774284,["Administrator@PC-20181117PMVI",[[1,376,"``"]],[376,376],[378,378]]],[1553225774309,["Administrator@PC-20181117PMVI",[[1,378,"language\n```\n"]],[378,378],[378,386]]],[1553225780078,["Administrator@PC-20181117PMVI",[[-1,391,"function Person () {}\nlet person = new Person()`"]],[391,439],[391,391]]],[1553225783244,["Administrator@PC-20181117PMVI",[[-1,378,"language"]],[378,386],[378,378]]],[1553225783494,["Administrator@PC-20181117PMVI",[[1,379,"\n"]],[378,378],[379,379]]],[1553225784280,["Administrator@PC-20181117PMVI",[[1,379,"function Person () {}\nlet person = new Person()`"]],[379,379],[427,427]]],[1553225785522,["Administrator@PC-20181117PMVI",[[-1,426,"`"]],[427,427],[426,426]]],[1553225807278,["Administrator@PC-20181117PMVI",[[1,427,"\n"]],[426,426],[427,427]]],[1553225807676,["Administrator@PC-20181117PMVI",[[1,427,"1. constructor: ƒ Person(name)\n2. __proto__:\n\n1. constructor: ƒ Object()\n2. hasOwnProperty: ƒ hasOwnProperty()\n3. isPrototypeOf: ƒ isPrototypeOf()\n4. propertyIsEnumerable: ƒ propertyIsEnumerable()\n5. toLocaleString: ƒ toLocaleString()\n6. toString: ƒ toString()\n7. valueOf: ƒ valueOf()\n8. __defineGetter__: ƒ __defineGetter__()\n9. __defineSetter__: ƒ __defineSetter__()\n10. __lookupGetter__: ƒ __lookupGetter__()\n11. __lookupSetter__: ƒ __lookupSetter__()\n12. get __proto__: ƒ __proto__()\n13. set __proto__: ƒ __proto__()"]],[427,427],[962,962]]],[1553225810330,["Administrator@PC-20181117PMVI",[[-1,427,"1. constructor: ƒ Person(name)\n2. __proto__:\n\n1. constructor: ƒ Object()\n2. hasOwnProperty: ƒ hasOwnProperty()\n3. isPrototypeOf: ƒ isPrototypeOf()\n4. propertyIsEnumerable: ƒ propertyIsEnumerable()\n5. toLocaleString: ƒ toLocaleString()\n6. toString: ƒ toString()\n7. valueOf: ƒ valueOf()\n8. __defineGetter__: ƒ __defineGetter__()\n9. __defineSetter__: ƒ __defineSetter__()\n10. __lookupGetter__: ƒ __lookupGetter__()\n11. __lookupSetter__: ƒ __lookupSetter__()\n12. get __proto__: ƒ __proto__()\n13. set __proto__: ƒ __proto__()"]],[962,962],[427,427]]],[1553225811708,["Administrator@PC-20181117PMVI",[[-1,427,"\n"]],[427,427],[426,426]]],[1553225834213,["Administrator@PC-20181117PMVI",[[1,454,"\n"]],[453,453],[454,454]]],[1553225844973,["Administrator@PC-20181117PMVI",[[-1,434,"1"]],[435,435],[434,434]]],[1553225846414,["Administrator@PC-20181117PMVI",[[1,434,"Pero"]],[434,434],[438,438]]],[1553225847376,["Administrator@PC-20181117PMVI",[[-1,437,"o"]],[438,438],[437,437]]],[1553225851296,["Administrator@PC-20181117PMVI",[[1,437,"son.prototype"]],[437,437],[450,450]]],[1553225853489,["Administrator@PC-20181117PMVI",[[-1,472,"2"]],[473,473],[472,472]]],[1553225858107,["Administrator@PC-20181117PMVI",[[1,472,"pser"]],[472,472],[476,476]]],[1553225859354,["Administrator@PC-20181117PMVI",[[-1,473,"ser"]],[476,476],[473,473]]],[1553225865541,["Administrator@PC-20181117PMVI",[[1,473,"erson.___"]],[473,473],[481,481]]],[1553225867444,["Administrator@PC-20181117PMVI",[[-1,480,"__"]],[481,481],[479,479]]],[1553225868271,["Administrator@PC-20181117PMVI",[[-1,479,"_"]],[479,479],[479,479]]],[1553225871914,["Administrator@PC-20181117PMVI",[[1,479,"____"]],[479,479],[482,482]]],[1553225873630,["Administrator@PC-20181117PMVI",[[-1,482,"_"]],[482,482],[482,482]]],[1553225875144,["Administrator@PC-20181117PMVI",[[-1,479,"___"]],[482,482],[479,479]]],[1553225881609,["Administrator@PC-20181117PMVI",[[1,479,"____"]],[479,479],[480,480]]],[1553225884460,["Administrator@PC-20181117PMVI",[[1,481,"proto"]],[481,481],[486,486]]],[1553225924696,["Administrator@PC-20181117PMVI",[[-1,478,"."]],[479,479],[478,478]]],[1553225931939,["Administrator@PC-20181117PMVI",[[1,478,"."]],[478,478],[479,479]]],[1553225933928,["Administrator@PC-20181117PMVI",[[-1,478,"."]],[479,479],[478,478]]],[1553225941822,["Administrator@PC-20181117PMVI",[[1,478,"\\."]],[478,478],[480,480]]],[1553225944935,["Administrator@PC-20181117PMVI",[[-1,478,"\\."]],[480,480],[478,478]]],[1553225945974,["Administrator@PC-20181117PMVI",[[1,478,"\\"]],[478,478],[479,479]]],[1553225948296,["Administrator@PC-20181117PMVI",[[-1,478,"\\"]],[479,479],[478,478]]],[1553225950830,["Administrator@PC-20181117PMVI",[[1,478,"/."]],[478,478],[480,480]]],[1553225952095,["Administrator@PC-20181117PMVI",[[-1,478,"/."]],[480,480],[478,478]]],[1553225971075,["Administrator@PC-20181117PMVI",[[1,478," "]],[478,478],[479,479]]],[1553225973635,["Administrator@PC-20181117PMVI",[[-1,478," "]],[479,479],[478,478]]],[1553225987971,["Administrator@PC-20181117PMVI",[[-1,472,"p"]],[473,473],[472,472]]],[1553225988620,["Administrator@PC-20181117PMVI",[[1,472,"P"]],[472,472],[473,473]]],[1553226146826,["Administrator@PC-20181117PMVI",[[-1,432,"![Person.prototype]($resource/1.png)\n\n![Person__proto__]($resource/2.png)"]],[432,505],[432,432]]],[1553226149975,["Administrator@PC-20181117PMVI",[[1,432,"![1]($resource/1.png)"]],[432,432],[454,454]]],[1553226159745,["Administrator@PC-20181117PMVI",[[-1,432,"![1]($resource/1.png)"]],[454,454],[432,432]]]],null,"Administrator@PC-20181117PMVI"],["7d95364d-e327-440f-90b1-a3df481359f6",1553226229291,"---\nlayout: post\ntitle: prototype和__proto__\nsubtitle: \ndate: 2019-03-22\nauthor: Song\nheader-img: img/post-bg-coding.jpg\ncatalog: true\ntags:\n - prototype __proto__\n---\n1. **prototype** 是函数(function) 的一个属性, 它指向函数的原型.\n2. **__proto__** 是对象的内部属性, 它指向构造器的原型, 对象依赖它进行原型链查询.\n\n由上, **prototype** 只有函数才有, 其他(非函数)对象不具有该属性. 而 **__proto__** 是对象的内部属性, 任何对象都拥有该属性.\n```\nfunction Person () {}\nlet person = new Person()\n```\n\n\n\n",[[1553226178342,["Administrator@PC-20181117PMVI",[[1,432,"![1]($resource/1.png)"]],[432,432],[454,454]]],[1553226185367,["Administrator@PC-20181117PMVI",[[-1,434,"1"]],[435,435],[434,434]]],[1553226187584,["Administrator@PC-20181117PMVI",[[1,434,"Pser"]],[434,434],[438,438]]],[1553226188355,["Administrator@PC-20181117PMVI",[[-1,435,"ser"]],[438,438],[435,435]]],[1553226192123,["Administrator@PC-20181117PMVI",[[1,435,"erson.prototype"]],[435,435],[450,450]]],[1553226196268,["Administrator@PC-20181117PMVI",[[1,470,"\n"]],[469,469],[470,470]]],[1553226199265,["Administrator@PC-20181117PMVI",[[1,470,"![2]($resource/2.png)\n"]],[470,470],[492,492]]],[1553226203252,["Administrator@PC-20181117PMVI",[[-1,472,"2"]],[473,473],[472,472]]],[1553226211778,["Administrator@PC-20181117PMVI",[[1,472,"Person__proto__"]],[472,472],[487,487]]],[1553226216392,["Administrator@PC-20181117PMVI",[[1,478,"!"]],[478,478],[479,479]]],[1553226217837,["Administrator@PC-20181117PMVI",[[-1,478,"!"]],[479,479],[478,478]]],[1553226220991,["Administrator@PC-20181117PMVI",[[1,478," "]],[478,478],[479,479]]],[1553226221981,["Administrator@PC-20181117PMVI",[[-1,478," "]],[479,479],[478,478]]],[1553226312253,["Administrator@PC-20181117PMVI",[[1,186," yu"]],[186,186],[189,189]]],[1553226312786,["Administrator@PC-20181117PMVI",[[-1,187,"yu"]],[189,189],[187,187]]],[1553226314104,["Administrator@PC-20181117PMVI",[[1,187,"yuan"]],[187,187],[191,191]]],[1553226315262,["Administrator@PC-20181117PMVI",[[-1,187,"yuan"]],[191,191],[187,187]]],[1553226322022,["Administrator@PC-20181117PMVI",[[1,187,"原型链"]],[187,187],[190,190]]],[1553226327234,["Administrator@PC-20181117PMVI",[[1,189,"原型"]],[187,187],[189,189]]],[1553226327584,["Administrator@PC-20181117PMVI",[[1,189," "]],[189,189],[190,190]]]],null,"Administrator@PC-20181117PMVI"],["fade1102-3360-447a-ad47-b3a8bfeb8d1f",1553497718812,"---\nlayout: post\ntitle: prototype和__proto__\nsubtitle: \ndate: 2019-03-22\nauthor: Song\nheader-img: img/post-bg-coding.jpg\ncatalog: true\ntags:\n - prototype __proto__ 原型 原型链\n---\n1. **prototype** 是函数(function) 的一个属性, 它指向函数的原型.\n2. **__proto__** 是对象的内部属性, 它指向构造器的原型, 对象依赖它进行原型链查询.\n\n由上, **prototype** 只有函数才有, 其他(非函数)对象不具有该属性. 而 **__proto__** 是对象的内部属性, 任何对象都拥有该属性.\n```\nfunction Person () {}\nlet person = new Person()\n```\n\n![Person.prototype]($resource/1.png)\n\n![Person__proto__]($resource/2.png)\n\n",[[1553497713200,["Administrator@PC-20181117PMVI",[[1,485," . "]],[485,485],[488,488]]],[1553497715169,["Administrator@PC-20181117PMVI",[[-1,485," . "]],[488,488],[485,485]]]],null,"Administrator@PC-20181117PMVI"]]}