28 Nov 2023
Finished leetcode 30 Days of JavaScript: 2703. Return Length of Arguments Passed
What I learn:
There is a special object called arguments
inside any function(except arrow function), it is array like object, it is iterable. It contains all arguments passed to that function. But in modern code, it is preferred to use rest parameter syntax.
Finished leetcode 30 Days of JavaScript: 2629. Function Composition
What I learn:
There are reduce()
and reduceRight()
function in Array.prototype
.
Top comments (0)