Skip to content

Instantly share code, notes, and snippets.

@sergi
Created January 8, 2011 23:23
Show Gist options
  • Save sergi/771242 to your computer and use it in GitHub Desktop.
Save sergi/771242 to your computer and use it in GitHub Desktop.
This test causes an (incorrect) syntax error
var Test = function(){}
Test.prototype = {
get foo() {
return 0;
},
set foo(val) {
return val;
},
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment