> As a bonus question, why did he use parentheses, saying > "Array().slice..." instead of just "Array.slice"? > > - Joe
This is the actual problem. "Array" is a constructor function. "Array()" gives you an actual array object. "slice" is not something you can do to functions, only arrays. _jason -- To view archived discussions from the original JSMentors Mailman list: http://www.mail-archive.com/[email protected]/ To search via a non-Google archive, visit here: http://www.mail-archive.com/[email protected]/ To unsubscribe from this group, send email to [email protected]
