Created
January 18, 2017 23:57
-
-
Save hafeez-syed/27a5ce78a24e7fe6abe3c44057b359d7 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 strictPerson() { | |
'use strict'; | |
console.log(this); // undefined | |
} | |
strictPerson(); | |
function linientPerson() { | |
console.log(this); // window | |
} | |
linientPerson(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment