about accessor
Posted by Thinker Li on 2010-09-19 20:49
Days ago! We had told about define accessor in C. Actually,
Javascript itself can define accessors. Please check following URL
http://ajaxian.com/archives/getters-and-setters-in-javascript
So, we had better use this facilty to implement obj.x and obj.y.
Home / Developer API / Tour / Get a Project - Solutions for Bug & Issue Tracking, Collaboration Tools, Subversion Hosting, Git Hosting
Madbutterfly is powered by Assembla.
0 Comments