Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function test() {}
- test.x = "someval";
- var y = new test(); //returns someval
- function test() {}
- test.x = "someval";
- test.z = "otherval";
- var y = new test(); //returns otherval
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement