Chromium Code Reviews| Index: src/array.js |
| =================================================================== |
| --- src/array.js (revision 11831) |
| +++ src/array.js (working copy) |
| @@ -62,7 +62,7 @@ |
| } |
| } |
| } |
| - keys.sort(function(a, b) { return a - b; }); |
| + ArraySort.call(keys, function(a, b) { return a - b; }); |
|
Vyacheslav Egorov (Google)
2012/10/19 12:11:51
What happens here if I overwrite Function.prototyp
|
| return keys; |
| } |