原來,javascript可能取不到prototype的this物件,因此在實作Array.prototype時,只能用
this.length = 0;來改變原本物件的index,目前只能用這樣來解決。
2006/10/25
Subscribe to:
Post Comments (Atom)
This is a repository that is used to store some techniques and a number of tricks of programming.
No comments:
Post a Comment