Security Demands Simplicity (was: Private Slots)

Nathan Wall nathan.wall at live.com
Mon Jan 21 16:44:01 PST 2013


> Object.create(new Date).getDate(); // works but is specified to not work 

I understand why this doesn't work, but why *shouldn't* it work? I'm curious why the language doesn't allow for this... ? It seems reasonable at first glance.

Nathan 		 	   		  


More information about the es-discuss mailing list