Last active
March 26, 2022 18:29
-
-
Save rehasantiago/6696f68c8c81ba99df6b08d1a6acaf28 to your computer and use it in GitHub Desktop.
Revealing the mystery behind this - https://readosapien.com/revealing-the-mystery-behind-this
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 song = { | |
songName: 'Blank Space', | |
getSong: function() { | |
console.log(this.songName); | |
} | |
} | |
let song1 = song.getSong; | |
setTimeout(song1, 1000);// undefined |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment