メモ
眠くて頭が回らなくなってきたのでメモ。
document.forms.propertyIsEnumerable(0) //=> true document.forms[0].propertyIsEnumerable(0) //=> false document.forms[0][0] //=> [object HTMLInputElement] document.forms[0].propertyIsEnumerable('length') //=> false //でもこのfor..inでlengthは列挙される。(0は列挙されない) for (p in document.forms[0]) repl.print(p);
明日のTODO:
- mozillaのドキュメントを読む。
- 燃えないゴミを分別する。