Not Just A Random Blog archive
Tag: functions

08/09/2011

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[…]


user-avatar
Today is Wednesday
04/26/2017