Skip to content

Commit

Permalink
Addressing review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
caiolima committed Mar 31, 2021
1 parent 2e461c9 commit 58e26b5
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -3843,7 +3843,7 @@ <h1>InitializeReferencedBinding ( _V_, _W_ )</h1>
<h1>MakePrivateReference ( _baseValue_, _privateIdentifier_ )</h1>
<emu-alg>
1. Let _env_ be the running execution context's PrivateEnvironment.
1. Let _privateNameBinding_ be ? ResolveBinding(_privateIdentifier_, _env_).
1. Let _privateNameBinding_ be ! ResolveBinding(_privateIdentifier_, _env_).
1. Let _privateName_ be ? GetValue(_privateNameBinding_).
1. Assert: _privateIdentifier_ is a Private Name.
1. Return the Reference Record { [[Base]]: _baseValue_, [[ReferencedName]]: _privateName_, [[Strict]]: *true*, [[ThisValue]]: ~empty~ }.
Expand Down Expand Up @@ -8482,6 +8482,7 @@ <h1>Static Semantics: AssignmentTargetType</h1>
CallExpression :
CallExpression `[` Expression `]`
CallExpression `.` IdentifierName
CallExpression `.` PrivateIdentifier

MemberExpression :
MemberExpression `[` Expression `]`
Expand Down Expand Up @@ -11189,7 +11190,7 @@ <h1>ECMAScript Function Objects</h1>
Object | *undefined*
</td>
<td>
TODO
If the function is a class with private methods or accessors, this is the brand to be installed on objects that are being initialized by the constructor of this class. The brand is the class' prototype, or *undefined* if no private method or acessor is present in the class. This brand is used to check if an object can access class' private methods and acessors.
</td>
</tr>
</tbody>
Expand Down Expand Up @@ -21172,6 +21173,8 @@ <h1>Static Semantics: ClassElementKind</h1>
1. Return ~NonConstructorMethod~.
</emu-alg>
<emu-grammar>ClassElement : `static` MethodDefinition</emu-grammar>
<emu-grammar>ClassElement : FieldDefinition `;`</emu-grammar>
<emu-grammar>ClassElement : `static` FieldDefinition `;`</emu-grammar>
<emu-alg>
1. Return ~NonConstructorMethod~.
</emu-alg>
Expand Down

0 comments on commit 58e26b5

Please sign in to comment.