mirror of
https://git.proxmox.com/git/rustc
synced 2025-10-21 04:57:26 +00: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 {};
|