Krzysztof Maczyński

Results 25 comments of Krzysztof Maczyński

> yobe{0} should be `yobi`

I know. But it slipped into the standard published by Ecma. It either shouldn't mention the 9th edition or say that it's going to be corrected in it, not _was_...

Wouldn't you get the desired result by writing just `protected` instead of `protected[Base]` in the trait definition? IIUC, you propose that these two should be equivalent. Which would make the...

Maybe put it on `Math` where `random` already lives?

How does the suspension duration depend on the passed _minimumTimeout_? After the change the spec says: > Perform LeaveCriticalSection(_WL_) and suspend _W_ for up to _timeout_ milliseconds So it's any...

> The only sensible choice I could imagine was that the shorthand _doesn't create a property_ when the expression evaluates to `undefined` - even without optional chains, for consistency I...

> If property is always created then: > > ```js > a = { o?.x?.[getName()]?.test } > ``` > > can be easily rewritten to: > > ```js > a...

No, I mean: ``` let x = 1 const ref y = ref x function update(ref r) { r++ } update(ref x) update(ref y) // throws ``` The function update...

A rephrasing may be helpful, but I care about not losing the crucial piece of information that it would be fine, were there an instance of `Num` for `String`.

@noughtmare, yes, it'd do the job. However, for the first sentence I find @Innf107's suggestion clearer. How about something like this then: > Cannot unify types. Expected a value of...