From 644bce266615894ce08278703d0e681a818c2013 Mon Sep 17 00:00:00 2001 From: Shu-yu Guo Date: Fri, 10 Jan 2020 11:09:38 -0800 Subject: [PATCH] Reword internal methods vtable-as-brand prose --- spec.html | 1 + 1 file changed, 1 insertion(+) diff --git a/spec.html b/spec.html index 9a8533245ee..4a3b1e76aa7 100644 --- a/spec.html +++ b/spec.html @@ -2253,6 +2253,7 @@

Object Internal Methods and Internal Slots

An exotic object is an object that is not an ordinary object.

+

This specification recognizes different kinds of exotic objects by those objects' internal methods. An object that is behaviourally equivalent to a particular kind of exotic object (such as Array or Bound Function), but does not have the same collection of internal methods specified for that kind, is not recognized as that kind of exotic object.

The “Signature” column of and other similar tables describes the invocation pattern for each internal method. The invocation pattern always includes a parenthesized list of descriptive parameter names. If a parameter name is the same as an ECMAScript type name then the name describes the required type of the parameter value. If an internal method explicitly returns a value, its parameter list is followed by the symbol “→” and the type name of the returned value. The type names used in signatures refer to the types defined in clause augmented by the following additional names. “any” means the value may be any ECMAScript language type.

In addition to its parameters, an internal method always has access to the object that is the target of the method invocation.

An internal method implicitly returns a Completion Record, either a normal completion that wraps a value of the return type shown in its invocation pattern, or a throw completion.