2021-09-02
[18:37:50.0865] <HE Shi-Jun>
> <@jamiebuilds:matrix.org> Q: When should proposals be moved into the tc39 org on github, I want to champion this proposal but wondering where the best place for it is right now https://github.com/bathos/proposal-string-cooked

I like this proposal , hope to see it in next meeting 😃 


2021-09-13
[15:40:08.0344] <Jamie Kyle>
Q: Are `SyntaxError`'s reserved only for early errors / parsing errors, or can it be thrown by APIs?

[15:40:49.0973] <jschoi>
They can be thrown by APIs; JSON.parse throws SyntaxErrors for invalid input. 

[15:41:03.0660] <jschoi>
* They can be thrown by APIs; JSON.parse and parseInt throw SyntaxErrors for invalid input. 

[15:41:37.0364] <jschoi>
* They can be thrown by APIs; JSON.parse throws SyntaxErrors for invalid input. 

[15:42:17.0383] <jschoi>
(parseInt should throw SyntaxError, but it returns NaN instead. https://github.com/tc39/proposal-number-fromstring would throw SyntaxErrors.)

[15:42:22.0242] <jschoi>
* (parseInt should throw SyntaxError, but it returns NaN instead. https://github.com/tc39/proposal-number-fromstring would throw SyntaxErrors.)

[16:02:21.0680] <Jamie Kyle>
Does this seem like the right intuition?

[16:59:17.0835] <ljharb>
i would prefer a syntax error, since the syntax is wrong. but i think something in the web recently chose type error for something like that with URLs


2021-09-28
[02:16:33.0006] <freddy>
👋