Menu

#35 support JS getters/setters

open
nobody
None
5
2009-12-15
2009-12-15
Anonymous
No

Could you please add support of JavaScript getters and setters. It's quite annoying to insert jsl:declare instruction for every name.
If code has following object:
function MyObject() {
var name;
get getName() {
return name;
}

It is always producing error about undeclared identifier: getName

Thanks
}

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.