Skip to content
This repository has been archived by the owner on Jan 25, 2022. It is now read-only.

Commit

Permalink
Normative: Define private names at the beginning of the class
Browse files Browse the repository at this point in the history
Rebase of this repository on tc39/proposal-class-fields#269
  • Loading branch information
littledan committed Sep 13, 2019
1 parent 8d42edf commit 56b76e5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ <h1>Runtime Semantics: ClassDefinitionEvaluation</h1>
1. If |ClassBody_opt| is present, then
1. For each element _dn_ of the PrivateBoundNames of |ClassBody_opt|,
1. Perform _classPrivateEnvRec_.CreateImmutableBinding(_dn_, *true*).
1. Let _privateName_ be NewPrivateName(_dn_).
1. Perform ! _classPrivateEnvRec_.InitializeBinding(_dn_, _dn_).
1. If |ClassHeritage_opt| is not present, then
1. Let _protoParent_ be the intrinsic object %ObjectPrototype%.
1. Let _constructorParent_ be the intrinsic object %FunctionPrototype%.
Expand Down

0 comments on commit 56b76e5

Please sign in to comment.