this
will not refer towindow
objectcallee
,caller
ofarguments
object are not allowed under strict mode- under strict mode
parameter
is not refereced linked toarguments
object, no strict mode,parameter
is a reference of thearguments
object.
(function() {
var nostrict = function(x) {
arguments[0] = 'modified';
console.log('arguments[0] =', arguments[0]);
console.log('x=', arguments[0]);
console.log('under non-strict mode,', x === arguments[0]); // log true