2.1.49 [ECMA-262/7] 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: ... 7. Else a. Let R be ? ToString(? Invoke(firstElement, "toLocaleString")). ... 9. Repeat, while k < len ... d. Else i. Let R be ? ToString(? Invoke(nextElement, "toLocaleString")).
EdgeHTML Mode
Array.prototype.toLocaleString
uses InvokeBuiltinMethod
instead of Invoke
:
...
7. Else
a. Let R be ? ToString(? InvokeBuiltinMethod(firstElement, "toLocaleString")).
...
9. Repeat, while k < len
...
d. Else
i. Let R be ? ToString(? InvokeBuiltinMethod(nextElement, "toLocaleString")).