| 00:51 | <jmdyck> | I modified ecmaspeak-py to find violations of the if-command-branches-must-do-the-same-thing convention, found 8. |
| 00:52 | <jmdyck> | Actually, on second thought, they're not of the single-line form. |
| 00:53 | <jmdyck> | They're all of the form If cond, something. Else, something. |
| 00:56 | <jmdyck> | (or "Otherwise", for now) |
| 01:12 | <jmdyck> | Okay, got it right this time, I think. Found 1 violation, in https://tc39.es/ecma262/#sec-object-environment-records-getbindingvalue-n-s: "If S is false, return undefined; otherwise throw a ReferenceError exception." |
| 01:13 | <jmdyck> | But 'throw' is just a shorthand for 'return', so you could say they do the same thing. |
| 01:54 | <Michael Ficarra> | hmm, yeah that one seems close enough |
| 02:28 | <bakkot> | Though also could easily be "1. If S is true, throw a RE exception. 1. Return undefined." |