Index: test/mjsunit/es6/classes-proxy.js |
diff --git a/test/mjsunit/es6/classes-proxy.js b/test/mjsunit/es6/classes-proxy.js |
index d438b01ad8a3a5022f12084c695b39f4193e5f96..430720a9f93de1957fb2153216bd91680d6f3945 100644 |
--- a/test/mjsunit/es6/classes-proxy.js |
+++ b/test/mjsunit/es6/classes-proxy.js |
@@ -5,7 +5,7 @@ |
// Flags: --allow-natives-syntax --harmony-proxies --harmony-reflect |
function CreateConstructableProxy(handler) { |
- return Proxy.createFunction(handler, function() {}, function() {}); |
+ return new Proxy(function(){}, handler); |
} |
(function() { |