Javascript - Argument

About

Snippet

arguments

The 'arguments' object cannot be referenced in an arrow function in ES3 and ES5.

fn = function() {console.log(arguments)};

fn('arg1','arg2');

Documentation / Reference


Powered by ComboStrap