What will be the result of the following code?

(function(){
    return typeof arguments;
})();
Explanation
JavaScript functions have a built-in object called the arguments. The argument contains an array of the arguments used when the function was called (invoked). Example:

var a = [ ];
typeof(a); // object

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback