ES6,ES7,ES8 and beyond. A Proposed Roadmap.

Kevin Gadd kevin.gadd at
Sun Apr 21 15:44:05 PDT 2013

isn't typeof (console.log) "function" and not "object"? by object I meant
an Object object, not 'any arbitrary JS value'. I suppose the distinction
is really blurry, and you would still have to deal with problems like the
object's prototype chain containing callables...

On Sun, Apr 21, 2013 at 3:42 PM, Sam Tobin-Hochstadt <samth at>wrote:

> On Sun, Apr 21, 2013 at 6:33 PM, Kevin Gadd <kevin.gadd at> wrote:
> > if I called Object.freeze or Object.seal on a JS object would it
> actually be
> > safe to pass it to another thread and let both threads use it without any
> > locking or guards?
> No, it's not safe.  Consider Object.freeze(console.log).
> Sam

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list