diff options
-rwxr-xr-x | 2703/main.js | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/2703/main.js b/2703/main.js new file mode 100755 index 0000000..6e02ccf --- /dev/null +++ b/2703/main.js @@ -0,0 +1,14 @@ +#!/usr/bin/env node +"use strict"; + +/** + * @param {...(null|boolean|number|string|Array|Object)} args + * @return {number} + */ +var argumentsLength = function (...args) { + return args.length; +}; + +/** + * argumentsLength(1, 2, 3); // 3 + */ |