Subj : Re: Strange Rhino NativeString behavior To : netscape.public.mozilla.jseng From : Andy Madigan Date : Mon Oct 25 2004 08:58 pm --- Matt McShane wrote: > In the meantime, if I were to try to hack a "no primitives" mode into > > Rhino (don't know how hard that would be - haven't even started > looking) > would anyone be interested in hearing about it? If so, I can do some > of > my thinking out loud here. If not, I'll do it and shut up. I for one would be very interested in a "no primitives" mode, and I have been wondering why JavaScript needed primitives in the first place, the seem especially messy with Strings. It seems one way to implement this would be to change: var a = "babble" from meaning a primitive string to meaning the equivalent of var a = new String("babble") .