-
-
Save bernar83/70027e04a334c8fa633f52befd9d5754 to your computer and use it in GitHub Desktop.
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
function foo(a) { | |
this.a = a; | |
} | |
var bar = new foo(2); | |
console.log(bar.a); // 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment