Created
April 8, 2013 12:57
-
-
Save nfroidure/5336601 to your computer and use it in GitHub Desktop.
So nice to get proxies like that
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Object.defineProperty(o, /^[0-9]+$/, { | |
get : function() { }, | |
set : function() { }, | |
enumerate : function() { }, | |
writable : false, | |
configurable : false, | |
enumerable : false | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment