JavaScript strict mode does not allow default binding. So, when used in a function, in strict mode, this is undefined.

"use strict";
function myFunction() {
  return this;
}
// returns undefined because we have used strict which doesn't allow default mode
by Luka Tatarishvili
4 years ago
JavaScript
objects
0
Pro tip: use ```triple backticks around text``` to write in code fences