nodash icon indicating copy to clipboard operation
nodash copied to clipboard

each() should pass only one argument when iterating arrays

Open scravy opened this issue 10 years ago • 0 comments

$.each(func, array)

will invoke func(value, index) which it should only do for objects but not for arrays as it is annoying with arity.

scravy avatar Dec 08 '15 07:12 scravy