Every function which modifies allowYieldExpression restores its original state before returning, so these did precisely nothing.
I imagine there used to be (incorrect) this.allowYieldExpression = false statements following the initial previousYield = this.allowYieldExpression which were removed without removing the attendant code.
Every function which modifies
allowYieldExpression
restores its original state before returning, so these did precisely nothing.I imagine there used to be (incorrect)
this.allowYieldExpression = false
statements following the initialpreviousYield = this.allowYieldExpression
which were removed without removing the attendant code.