Hi,

Sharps were removed from SpiderMonkey a while ago;  see
http://whereswalden.com/2012/01/25/spidermonkey-no-longer-supports-sharp-variables/
and https://bugzilla.mozilla.org/show_bug.cgi?id=566700.

But there's still some sharps-related code in SpiderMonkey, e.g.
JSContext::sharpObjectMap and js_{Enter,Leave}SharpObject, which are
used in obj_toSource().  Bug 566700 had some discussion about
toSource(), and how sharps syntax shouldn't be used in it, but I
didn't understand the discussion.

Also, this doesn't look right:

  js> let x = {};
  js> x.a = x;
  ({a:{a:{}}})
  js>
  js> let y = []
  js> y[0] = y;
  too much recursion

Can anyone clarify if things are as they are supposed to be?  Thanks.

Nick
_______________________________________________
dev-tech-js-engine-internals mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine-internals

Reply via email to