filter() function question
View Single Post
01-06-2013, 12:36 AM
Supreme Master coder!
Join Date: Feb 2009
Thanked 4,308 Times in 4,275 Posts
Originally Posted by
The second parameter is optional.
Yes, but if it is omitted then
in the callback refers to the window! About as useless a choice as possible, methinks.
An optimist sees the glass as half full.
A pessimist sees the glass as half empty.
A realist drinks it no matter how much there is.
View Public Profile
Find More Posts by Old Pedant