摘要:
大纲:1、介绍attribute property的异同,翻译自http://javascript.info/tutorial/attributes-and-custom-properties#properties2、介绍两种property,即数据property和访问器property,以及每种property对应的四种attribute,即[[configrable]],[[enumerable]],[[writable]],[[value]]和[[configurable]],[[enumerable]],[[get]],[[set]]3、定义property的方法,即Object.d 阅读全文
摘要:
首先看看这两个单词的英文释义(来自有道词典)。先是property:property['prɔpəti]n. 性质,性能;财产;所有权英英释义:any area set aside for a particular purpose“the president was concerned about the property across from the White House”同义词:placesomething owned; any tangible or intangible possession that is owned by someone“that hat is my p 阅读全文