Ron Buckton

Results 538 comments of Ron Buckton

I suppose we could add a `writable` property to the `Reference` instance, or a static `Reference.isWritable(x)` method, but I doubt it would infer more than whether the reference *itself* was...

Plus I'm beginning to think I need a `const ref` expression in addition to a `ref` expression, or a `ref x const` (putting the `const` at the end so as...

Regarding your first example (updated to current syntax): ``` let ref accessor = typecounters[0]; let index = Atomics.add(...accessor, 1); ``` This would fail because `accessor` is a `Reference` type, and...

I'm concerned that exposing the `this` binding could possibly leak sensitive internals and could be a security vulnerability when working with untrusted code in a sandbox. I do not believe...

@ghost regarding your second point: > Also, I suggest change behavior of `ref`. > > 1. `ref` should refers to left value, not right value. > ```js > let objvar...

This doesn't cover quite as many cases as #59045, though I found the fourslash tests in this PR very helpful so I've added them into #59045.

Opening this as a separate issue to ensure we track this and discuss ramifications with the individuals involved with the WebCrypto spec.

NOTE: @bakkot I edited your comment to add a link to where I originally wrote that comment, for anyone coming to this discussion later.

I'm not personally swayed by a `@("foo")` syntax for Metadata. Most systems that want to employ Metadata will want it in a specific format. Arbitrary Metadata as applied by something...