mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-06-12 04:21:21 +00:00
Port Object
tests to wasm
This commit is contained in:
11
crates/js-sys/tests/wasm/Object.js
Normal file
11
crates/js-sys/tests/wasm/Object.js
Normal file
@ -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 {};
|
Reference in New Issue
Block a user