Clément P
Clément P
or simply `(NaN !== NaN)`
`\${` is also affected ## example ```js const html = /* html */ ` ` ``` ## actual render  ## expected render 
The following are concerned: * [Element: innerHTML](https://developer.mozilla.org/en-US/docs/Web/API/Element/innerHTML) * [Element: outerHTML](https://developer.mozilla.org/en-US/docs/Web/API/Element/outerHTML) * [Element: insertAdjacentHTML()](https://developer.mozilla.org/en-US/docs/Web/API/Element/insertAdjacentHTML) * [Element: setHTML()](https://developer.mozilla.org/en-US/docs/Web/API/Element/setHTML)
https://github.com/advisories/GHSA-qghr-877h-f9jh
Almost all numerical operators are affected. Given that: ```ts let x: any = 0n ``` All these statements return the type `number`, [they should](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Unary_negation#description) return the type `number | bigint`:...
Yes, I had closed this because I realized that the tests do not output javascript code but simply perform a `console.log` Parsing it works with basic types (Plain object, array...
a library like [devalue](https://github.com/Rich-Harris/devalue) could also be a solution.
that's what I assumed, but as the readme only gives examples with integers, it's not very obvious.
dot (`.`) is not mentioned [in spec](https://github.com/tc39/proposal-number-fromstring/blob/master/spec.html#L61): > 1. If _string_ represents a mathematical number value in radix-_R_ notation, using the characters 0-9 for digits with values 0 to 9,...
i suggest: `ctrl+alt+shift+q` but a configurable shortcut will be better.