Commit bc9df090 authored by yangguo@chromium.org's avatar yangguo@chromium.org

Fix array-iteration test case.

R=verwaest@chromium.org
BUG=v8:2282

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@12297 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent a055a4e1
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
// Simple use. // Simple use.
var a = [0,1]; var a = [0,1];
assertArrayEquals([0], a.filter(function(n) { return n == 0; })); assertArrayEquals([0], a.filter(function(n) { return n == 0; }));
assertArrayEquals(a, a); assertArrayEquals([0,1], a);
// Use specified object as this object when calling the function. // Use specified object as this object when calling the function.
var o = { value: 42 } var o = { value: 42 }
......
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