On Nov 15, 2011, at 10:34 AM, Russell Leggett wrote: > Yes, of course you're right about that. There was something in the back of my > brain saying there might be a problem with that optimization, but I had hoped > it could be done, because that is probably the most common case. I suppose > you could say that it isn't an optimization, but simply part of the > semantics. Not sure if that would be confusing or just seem like the right > behavior.
Semantics that sometimes make a new object with the given operand as its proto, other times return the operand unobservably mutated, are not gonna fly. That's bad for human and robot readers (i.e., implementations). /be _______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

