Not Just A Random Blog archive
Tag: functions


JavaScript Functions With an Undefined Number of Arguments

In JavaScript there is an easy way to retrieve all the arguments that were passed to the function even if we do not know how many were passed. There is an arguments array-LIKE object. Notice it is not an array, but similar to one. We cannot join(), pop(), push(), slice(), etc. like we can with[…]

Today is Thursday