> It looks to me that primitives has methods and properties. Actually, what it does is automagically convert the primitives to their object counterparts, run the functions, and then convert back to a primitive. Angus Croll wrote a blog post about it: http://javascriptweblog.wordpress.com/2010/09/27/the-secret-life-of-javascript-primitives/
------------------------ Gary Katsevman Computer Science Undergraduate Northeastern University gkatsev.com -- 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]
