DescriptionRefactor the samevalue internal method and add tests for this method.
Noticing that the only difference between samevalue and strict equality is on
numbers we can simplify SameValue.
The old version did not return a correct answer if called on two strings since
StringEquals (from runtime.cc) returns an answer that is the negated value
(if treated as a boolean).
Committed: http://code.google.com/p/v8/source/detail?r=4713
Patch Set 1 #
Total comments: 2
Messages
Total messages: 3 (0 generated)
|