From dfd5ea2ec5862de21b005737650ba08bc57271fa Mon Sep 17 00:00:00 2001 From: Alexey Shvayka Date: Thu, 30 Apr 2020 01:40:37 +0300 Subject: [PATCH] Editorial: Fix casing of @@hasInstance well-known symbol (#1978) --- spec.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec.html b/spec.html index a71bed81b3..33c7c1e40a 100644 --- a/spec.html +++ b/spec.html @@ -15009,7 +15009,7 @@

Runtime Semantics: Evaluation

Runtime Semantics: InstanceofOperator ( _V_, _target_ )

-

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:

+

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:

1. If Type(_target_) is not Object, throw a *TypeError* exception. 1. Let _instOfHandler_ be ? GetMethod(_target_, @@hasInstance).