Skip to content

Commit 34323a2

Browse files
day 09 task complete
1 parent a8c0db9 commit 34323a2

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

day09/leetcode2703.js

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
// 2703. Return Length of Arguments Passed
2+
// URL -> https://leetcode.com/problems/return-length-of-arguments-passed/
3+
4+
/**
5+
* @param {...(null|boolean|number|string|Array|Object)} args
6+
* @return {number}
7+
*/
8+
var argumentsLength = function (...args) {
9+
return args.length;
10+
};
11+
12+
/**
13+
* argumentsLength(1, 2, 3); // 3
14+
*/

0 commit comments

Comments
 (0)