Subj : Re: Changing Object.prototype.toSource to use double-quotes everywhere To : petew From : Brendan Eich Date : Fri May 13 2005 10:24 am Peter Wilson wrote: > Brenden (Brendan.) > - I'm not sure I see the argument for bloating the core engine > with this functionality. It's trivially easy to write a JS function to > do this for any arbitrary JS object structure as long as it's legally > capable of being represented as a JSON string. > > Now if you'd like to implement toQuotedPrintable for me......... You're quite right -- I wouldn't do it in the core C code. JS is overdue for a standard library mechanism, and ECMA TG1 is working on Edition 4. Some on the committee already have implementations and would put the issue of binding standard packages to real files or assemblies off to the embedding, not make it a standard -- but I think there needs to be a default everyone can count on. I will be working on that, and other JS2-ish things, over the summer. /be .