summaryrefslogtreecommitdiffstats
path: root/vendor/js-sys/tests/wasm/Object.js
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/js-sys/tests/wasm/Object.js')
-rw-r--r--vendor/js-sys/tests/wasm/Object.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/vendor/js-sys/tests/wasm/Object.js b/vendor/js-sys/tests/wasm/Object.js
new file mode 100644
index 000000000..3f82fc9b7
--- /dev/null
+++ b/vendor/js-sys/tests/wasm/Object.js
@@ -0,0 +1,11 @@
+const symbol_key = Symbol();
+
+exports.map_with_symbol_key = function() {
+ return { [symbol_key]: 42 };
+};
+exports.symbol_key = function() {
+ return symbol_key;
+};
+
+exports.Foo = class {};
+exports.Bar = class {};