今天读这小节的开头
原来 Object 里的 property 还默默记录了除了 value 以外的东西,我们可以透过 Object.getOwnPropertyDescriptor() 取得
Object.getOwnPropertyDescriptor( myObj , "propertyName" )
像是
var myObj = { a: 'Pen' };
Object.getOwnPropertyDescriptor( myObj, "a" );
// 可以取得
// configurable: true
// enumerable: true
// value: "Pen"
// writable: true
明天往後看再了解 configurable、enumerable、writable 能让我们如何操作
若上述理解有误都在麻烦提点提点了 ԅ(≖‿≖ԅ)
<<: Day05 - 今天只调了 VS Code 让 tab 为 2格 space
如果一段 if-else if 中的条件都在判断 同一笔资料 是不是 等於某值,这段 if-else...
标示超连结 < a>元素是用来标示超连结,常使用的属性为< href> &l...
基本上试题(Item)的部分都差不多介绍完了 接下来是出多份考卷的主要部分---PageBreak ...
题库一个人不容易维护 如果想要多人共用试算表 就会怕有些人动到你设定好的格式 此时可以选择保护工作表...
test.py import argparse parser = argparse.Argument...