summaryrefslogtreecommitdiffstats
path: root/js/src/tests/ecma_6/Class/newTargetProxyNative.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/tests/ecma_6/Class/newTargetProxyNative.js')
-rw-r--r--js/src/tests/ecma_6/Class/newTargetProxyNative.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/js/src/tests/ecma_6/Class/newTargetProxyNative.js b/js/src/tests/ecma_6/Class/newTargetProxyNative.js
new file mode 100644
index 000000000..89cdd64ab
--- /dev/null
+++ b/js/src/tests/ecma_6/Class/newTargetProxyNative.js
@@ -0,0 +1,5 @@
+var proxyToArray = new Proxy(Array, {});
+new proxyToArray();
+
+if (typeof reportCompare === 'function')
+ reportCompare(0,0,"OK");