Open brabalan opened 7 years ago
In JSExplain, we only use let%ret for complex control flow, when several branches can continue with the same continuation. Example: http://www.ecma-international.org/ecma-262/7.0/index.html#sec-validateandapplypropertydescriptor
let%ret
In our code, we should have an initial let%ref, a bunch of else if, and the in before step 6.
let%ref
else if
in
We could suggest to use this wording (start with else if if only one enter point in the control flow) for the spec.
In JSExplain, we only use
let%ret
for complex control flow, when several branches can continue with the same continuation. Example: http://www.ecma-international.org/ecma-262/7.0/index.html#sec-validateandapplypropertydescriptorIn our code, we should have an initial
let%ref
, a bunch ofelse if
, and thein
before step 6.We could suggest to use this wording (start with
else if
if only one enter point in the control flow) for the spec.