On 13 January 2011 18:34, Peter van der Zee <[email protected]> wrote:
> On Thu, Jan 13, 2011 at 6:33 PM, Joel Dart <[email protected]> wrote: > >> >Why? Well, simply because that's how the specification says it should >> be. >> >> >> >> I’m taking a guess here, trying to justify this and would appreciate >> feedback in my thinking. Since new has to set up the prototype chain, it >> would necessarily have to return an object since primitives do not have >> properties and methods. Does this sound right? >> >> Well, you're correct, although I wouldn't have put it like that. > Like what? Big and blue? ;) -- Nick Morgan http://skilldrick.co.uk @skilldrick <http://twitter.com/skilldrick> -- 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]
