If we print the output of arguments variable inside a normal function:
var func = function() { console.log(arguments); }
func();
The result is an object which contains information about the context (parameter values, scope , functionLocation...)
But if we reproduce the same function with fat arrow, we will never get argument declared:
var func = () => { console.log(arguments); }
func();
// arguments is not defined
Can anyone explain how can we get the context data from arrow functions?