Skip to content

Commit

Permalink
Add assert.
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielRosenwasser committed Nov 15, 2019
1 parent bdbd536 commit 3d3a71e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spec.html
Expand Up @@ -13657,6 +13657,7 @@ <h1>Runtime Semantics: EvaluateExpressionKeyPropertyAccess( _baseValue_, _expres
<h1>Runtime Semantics: EvaluateIdentifierKeyPropertyAccess( _baseValue_, _identifierName_, _strict_ )</h1>
<p>The abstract operation EvaluateIdentifierKeyPropertyAccess takes as arguments a value _baseValue_, a Parse Node _identifierName_, and a Boolean argument _strict_. It performs the following steps:</p>
<emu-alg>
1. Assert: _identifierName_ is an |IdentifierName|
1. Let _bv_ be ? RequireObjectCoercible(_baseValue_).
1. Let _propertyNameString_ be StringValue of _identifierName_.
1. Return a value of type Reference whose base value component is _bv_, whose referenced name component is _propertyNameString_, and whose strict reference flag is _strict_.
Expand Down

0 comments on commit 3d3a71e

Please sign in to comment.