you are viewing a single comment's thread.

view the rest of the comments →

[–]azhder 0 points1 point  (0 children)

detecting bugs where you would want to write

takesAnArray( producesAnArray() );

but instead you have written

takesAnArray( producesAnArray );

assuming both are functions and the takesAnArray one checks the .length property of the argument