Skip to content

Instantly share code, notes, and snippets.

@Omkaragrawal
Created May 18, 2020 23:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Omkaragrawal/7865bcdcd50b6c4bfcd45b053fb518ca to your computer and use it in GitHub Desktop.
Save Omkaragrawal/7865bcdcd50b6c4bfcd45b053fb518ca to your computer and use it in GitHub Desktop.
'use strict'; // see strict mode
function f2() {
// 'use strict'; or else here
return this;
}
console.log(f2() === undefined) // true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment