DescriptionRemove ToObject on elements from Array.prototype.toLocaleString()
In ES5, ToObject was called on elements before invoking the
.toLocaleString() method on them. ES2015 specifies that ToObject is
not called. A test262 test verifies this change. This patch
implements the new ES2015 behavior. It is verified by the test262 test
built-ins/Array/prototype/toLocaleString/primitive_this_value_getter
R=adamk
Committed: https://crrev.com/80aa6a5f7f9d49365657bf64a78bf0f5e5918b99
Cr-Commit-Position: refs/heads/master@{#31160}
Patch Set 1 #
Messages
Total messages: 10 (3 generated)
|