2.1.53 [ECMA-262/9:2018] Section 22.1.3.27 Array.prototype.toLocaleString ( [ reserved1 [ , reserved2 ] ] )
V0206: Array.prototype.toLocaleString uses InvokeBuiltinMethod instead of Invoke
The specification states:
-
22.1.3.27 Array.prototype.toLocaleString ( [ reserved1 [ , reserved2 ] ] ) An ECMAScript implementation that includes the ECMA-402 Internationalization API must implement the Array.prototype.toLocaleString method as specified in the ECMA-402 specification. If an ECMAScript implementation does not include the ECMA-402 API the following specification of the toLocaleString method is used. ... The following steps are taken: ... 6. Repeat, while k < len ... c. If nextElement is not undefined or null, then i. Let S be ? ToString(? Invoke(nextElement, "toLocaleString")).
EdgeHTML Mode
Array.prototype.toLocaleString
uses InvokeBuiltinMethod
instead of Invoke
:
...
6. Repeat, while k < len
...
c. If nextElement is not undefined or null, then
i. Let S be ? ToString(? InvokeBuiltinMethod(nextElement, "toLocaleString")).