Last active
February 10, 2022 21:50
-
-
Save joehendrix/7175d2d4fca5fc84d46d298d6f88f67e 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
class Friend { | |
constructor() { | |
console.log('Hello friend') | |
} | |
} | |
function f() { | |
new Object() | |
} | |
f() // Prints nothing | |
Object = Friend | |
f() // Prints "Hello friend" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment