Skip to content

Commit

Permalink
Editorial: Fix casing of @@hasInstance well-known symbol
Browse files Browse the repository at this point in the history
  • Loading branch information
shvaikalesh committed Apr 29, 2020
1 parent b907cc9 commit 3a79d65
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 @@ -14923,7 +14923,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 takes arguments _V_ (an ECMAScript language value) and _target_ (an ECMAScript language value). It implements the generic algorithm for determining if _V_ is an instance of _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. It performs the following steps when called:</p>
<p>The abstract operation InstanceofOperator takes arguments _V_ (an ECMAScript language value) and _target_ (an ECMAScript language value). It implements the generic algorithm for determining if _V_ is an instance of _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. It performs the following steps when called:</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 3a79d65

Please sign in to comment.