Closed Bug 488226 Opened 17 years ago Closed 9 years ago

Overloading of properties

Categories

(Core :: JavaScript Engine, enhancement)

x86
Windows Vista
enhancement
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: brettz9, Unassigned)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.8) Gecko/2009032609 Firefox/3.0.8 Build Identifier: While __noSuchMethod__ is a great tool for overloading missing methods, I wonder whether the equivalents of __get(), __set(), __isset(), and __unset() from PHP (http://php.net/manual/en/language.oop5.overloading.php ) could be implemented in Mozilla JS (including on the global object). Reproducible: Always
Assignee: general → nobody
New features to JavaScript should now be proposed to TC39 [1] before being implemented in SpiderMonkey, therefore closing as Invalid. [1] https://github.com/tc39/proposals/blob/master/CONTRIBUTING.md
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.