Closed littledan closed 5 years ago
Private names are logically defined during the whole class execution, not only after the definition is reached. This patch properly hoists the private name definition, to avoid an unintentional and confusing TDZ condition.
Closes #263
lgtm
We reached consensus on this PR in the October 2019 TC39.
Private names are logically defined during the whole class execution, not only after the definition is reached. This patch properly hoists the private name definition, to avoid an unintentional and confusing TDZ condition.
Closes #263