DescriptionAdd ToObject call in Array.prototype.sort
The spec says ToObject is called on the receiver, and this is
observable if you call sort on a primitive. This patch trivially
adds the call and a test.
BUG=v8:4125
R=adamk
LOG=Y
Committed: https://crrev.com/cbf9137707edcc6c4e09b2a680667a52c3226621
Cr-Commit-Position: refs/heads/master@{#28972}
Patch Set 1 #
Messages
Total messages: 9 (3 generated)
|