Tail call example should contain explicit use strict directive
anba opened this issue · 3 comments
anba commented
The tail call example is not in proper tail call position, because it does not define the strictness of the function.
domenic commented
I believe per recent TC39 meetings (plus of course the draft spec) strictness is not a requirement of tail calls anymore.
anba commented
According to InTailPosition, step 2 and the last meetings notes covering this topic, strictness is still required for tail calls.
domenic commented
Huh, I must have been hallucinating; those were indeed the meeting notes I was thinking of. Sorry!