James Browning

Results 242 comments of James Browning

I think the big selling point of `enum` is obviousness of intent. Consider a similar feature which strictly speaking offers nothing the language didn't already provide, private fields, those could...

> I'm not saying the name of DOMException is the issue; as much as it is that AbortError inherits from it. Is it really too late for the web to...

> That's clear, but I think the request is to perhaps create those plans. Yes, there's plenty of improvements on the web for ergonomics of APIs all the time. I...

> @domenic and how are users expected to distinguish cancellation from other (operational) errors? Is there a best practice we should follow here? In general I'd suggest just handling errors...

> So I think my current ask in this regard is really just "have a way to know when an error is cancellation" blessed by the platform. Node can ship...

> > So I think my current ask in this regard is really just "have a way to know when an error is cancellation" blessed by the platform. Node can...

> IIRC @erights pointed out there is a way to avoid side-channels: we can choose not to expose APIs (like process.hrtime) that allow time measurement (this also includes stuff like...

Not specified in the tutorial and should be in the docs is whether or not you can export/import them. I tried `export operator + ...` but nothing happened when I...

> Do you run babel too @Jamesernator ? No this happens simply opening the root directory of the project with `ndb .`

@jridgewell While solvable my complete set of use cases is actually a bit more of a pain than just using a WeakSet as it actually adds additional callExpressions into the...