Skip to content

2703-return-length-of-arguments-passed

DevGod
DevGod
Vtuber
/**
* @param {...(null|boolean|number|string|Array|Object)} args
* @return {number}
*/
var argumentsLength = function(...args) {
return args.length;
};
/**
* argumentsLength(1, 2, 3); // 3
*/