Last active
March 26, 2024 07:33
-
-
Save royib/ad5e115ca29fff9300d43ab216c960f6 to your computer and use it in GitHub Desktop.
this Article - dynamic new
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
let bar= "bar"; | |
function foo(){ | |
this.baz = "baz"; | |
console.log(bar + " " + this.baz); | |
} | |
var obj = new foo(); // bar baz |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment