I am trying to access the arguments.callee property in the simple function below, but I couldn't since the function throws an error.
function foo(a = 50, b) {
console.log(arguments.callee);
}
foo(10, 50);
Why is this happening? It seems that the function is running in strict mode, but how is that possible since I didn't mention the statement 'use strict';
I am running this on Chrome.