Index: src/js/v8natives.js |
diff --git a/src/js/v8natives.js b/src/js/v8natives.js |
index 97ace80ef8f2b9b81fb8029619e091827e7452af..c7d86e03f77c08cb89223fc08dce7a8c1f558784 100644 |
--- a/src/js/v8natives.js |
+++ b/src/js/v8natives.js |
@@ -210,7 +210,7 @@ function ObjectIsPrototypeOf(V) { |
// ES6 19.1.3.4 |
function ObjectPropertyIsEnumerable(V) { |
var P = TO_NAME(V); |
- return %IsPropertyEnumerable(TO_OBJECT(this), P); |
+ return %PropertyIsEnumerable(TO_OBJECT(this), P); |
} |
@@ -1192,7 +1192,7 @@ function ObjectAssign(target, sources) { |
for (var j = 0; j < len; ++j) { |
var key = keys[j]; |
- if (%IsPropertyEnumerable(from, key)) { |
+ if (%PropertyIsEnumerable(from, key)) { |
var propValue = from[key]; |
to[key] = propValue; |
} |