Fix syntactical issue in r10965.

R=rossberg@chromium.org
TEST=mjsunit/object-is

Review URL: https://chromiumcodereview.appspot.com/9641015

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10967 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 448b620d
......@@ -1261,7 +1261,7 @@ function ObjectIsExtensible(obj) {
// Harmony egal.
function ObjectIs(obj1, obj2) {
if (obj1 === obj2) {
return (obj1 !== 0) || (1 / obj1 === 1 / obj2);
return (obj1 !== 0) || ((1 / obj1) === (1 / obj2));
} else {
return (obj1 !== obj1) && (obj2 !== obj2);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment