Drop JSON from the language?

2007-10-12 Thread Robert Sayre
I think this feature might be better to add as a library. I'm working on a patch for Mozilla that provides a native JSON implementation like so: |new JSON()|. I had been basing the API on Bob's python simplejson API, but it looks like Google Caja did something similar in JS, so I might go with thei

Re: Type Checking?

2007-10-12 Thread Brendan Eich
On Oct 11, 2007, at 10:36 PM, Garrett Smith wrote: > So that that's out of scope for ES4; it's OK for host objects to have > custom behavior. I'm afraid so, but we could say that host objects that are callable SHOULD be functions if they appear to be functions otherwise; we could say that all