Skip to content

Commit

Permalink
Editorial: Fix casing of @@hasInstance well-known symbol (#1978)
Browse files Browse the repository at this point in the history
  • Loading branch information
shvaikalesh authored and ljharb committed May 1, 2020
1 parent b815bc1 commit dfd5ea2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -15009,7 +15009,7 @@ <h1>Runtime Semantics: Evaluation</h1>

<emu-clause id="sec-instanceofoperator" aoid="InstanceofOperator">
<h1>Runtime Semantics: InstanceofOperator ( _V_, _target_ )</h1>
<p>The abstract operation InstanceofOperator(_V_, _target_) implements the generic algorithm for determining if ECMAScript value _V_ is an instance of object _target_ either by consulting _target_'s @@hasinstance method or, if absent, determining whether the value of _target_'s *"prototype"* property is present in _V_'s prototype chain. This abstract operation performs the following steps:</p>
<p>The abstract operation InstanceofOperator(_V_, _target_) implements the generic algorithm for determining if ECMAScript value _V_ is an instance of object _target_ either by consulting _target_'s @@hasInstance method or, if absent, determining whether the value of _target_'s *"prototype"* property is present in _V_'s prototype chain. This abstract operation performs the following steps:</p>
<emu-alg>
1. If Type(_target_) is not Object, throw a *TypeError* exception.
1. Let _instOfHandler_ be ? GetMethod(_target_, @@hasInstance).
Expand Down

0 comments on commit dfd5ea2

Please sign in to comment.