mirror of
https://github.com/rustwasm/wasm-bindgen.git
synced 2024-12-17 14:31:45 +03:00
12 lines
214 B
JavaScript
12 lines
214 B
JavaScript
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 {};
|