Ashley Claymore

Results 127 comments of Ashley Claymore

One potential advantage of “reference implementation” over “polyfill” is that it would include syntax based proposals too.

Perhaps the cached function should be frozen (Object.freeze) so the caller can not observe/introduce side-effects made permissible by the idempotence. I think idempotence is crucial for this operator to work...

> But from my perspective breaking seems more desirable. If you are using import defer to move some set of toplevel evaluations later in time, would you not be interested...

> Is it just me or does it seem odd for classes to be given a `Symbol.metadata` field that neither contains nor can be given metadata. Maybe the symbol should...

thanks @MaxGraey - I'll give this a go and report back. This looks like a better way of doing things compared to my naive string builder.

cc: @andrewbranch - @robpalme suggested you might be interested in this

> So this one is already fixed by one of my existing PRs: https://github.com/microsoft/TypeScript/pull/56100 (I just pushed out this test case there, could you also verify that the output looks...

If a primary motivator for including `@@asyncDispose` as part of this initial proposal is for its expected use helping to unify the web-APIs, I wonder if there has been any...

Personally I very much like the idea of overloading the existing methods. As mentioned there is the risk of `Symbol.iterator` being added or removed from an object which is also...