Sam Tobin-Hochstadt (2013-04-21T22:42:15.000Z)
On Sun, Apr 21, 2013 at 6:33 PM, Kevin Gadd <kevin.gadd at gmail.com> 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
github at esdiscuss.org (2013-07-12T02:26:57.276Z)
On Sun, Apr 21, 2013 at 6:33 PM, Kevin Gadd <kevin.gadd at gmail.com> 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)`.