Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.6
-
None
-
None
-
Patch Available
Description
The current JavaScript compiler has a pretty simple way of doing inheritance (just copies the prototype fields over). Node.js has a helper method for this (sys.inherits) and there are easier ways to do it in the browser too. This patch makes it easy for the browser and Node.js to each do the right thing.