Ashley Claymore

Results 127 comments of Ashley Claymore

Example of a function having 'realm specific state': ```js const iFrameRealm = getIframeRealm(); const for1 = globalThis.Symbol.for; const for2 = iFrameRealm.globalThis.Symbol.for; const o = {}; for1(o) === for1(o); // the...

and Template objects are not technically realm-specific. They are tied to the 'parse node'. ```js function tag(arr) { return arr; } function f() { return tag`` ; } function g()...

Almost 1 year later, we are once again in a position where we require spec review as we prepare to go for stage 3. As per #19 the full set...

> @acutmore Thanks for driving this! One pet peeve: we'd all benefit of a direct link to the rendered spec, but I'm also in favor of having this mentioned PR...

Note that `->` are `=>` lambdas in languages like CoffeeScript, Elm, Java, Julia, Kotlin and LiveScript.

Closing in favour of #359 which also makes the objects non-exotic but retains the additional internal slot.

> and I’d like to see new primitives have it. This sounds like something that can be brought to plenary. Either as part of a R&T item or separate. What...

> What would the behavior of String(box) be? If we want to constrain access to `unbox` then potentially no other built-in should use that operation. JSON.stringify with a custom replacer...

> Why wouldn’t toString just defer to JSON.stringify, if toJSON ensures that JSON.stringify prints something useful? Tuples follow Arrays behavior for toString and JSON.stringify (following the general design theme of...

Summary post for reference ---- ## Context Without explicit handling either by the application, or in the spec itself, treating a record as a string can't produce a _useful_ result...