Last active
April 30, 2018 20:45
-
-
Save icarcal/9184ae3ab7bdb4e6e04ef810b5ecbdcd to your computer and use it in GitHub Desktop.
global 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
var rick = 'Rick'; | |
var morty = 'Morty'; | |
function rickAndMorty() { | |
console.log(`My favourite show is ${this.rick} & ${this.morty}`) | |
} | |
rickAndMorty() | |
// My favourite show is Ricky & Morty |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment