Index: src/v8natives.js |
=================================================================== |
--- src/v8natives.js (revision 8946) |
+++ src/v8natives.js (working copy) |
@@ -1020,7 +1020,7 @@ |
if (!IS_SPEC_OBJECT(obj)) |
throw MakeTypeError("obj_ctor_property_non_object", ["defineProperties"]); |
var props = ToObject(properties); |
- var key_values = []; |
+ var key_values = new InternalArray(); |
for (var key in props) { |
Lasse Reichstein
2011/08/18 06:56:41
How about making a way to find all own properties
|
if (%HasLocalProperty(props, key)) { |
key_values.push(key); |