17 lines
313 B
JavaScript
17 lines
313 B
JavaScript
//// [symbolProperty5.ts]
|
|
var x = {
|
|
[Symbol.iterator]: 0,
|
|
[Symbol.isRegExp]() { },
|
|
get [Symbol.toStringTag]() {
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
//// [symbolProperty5.js]
|
|
var x = {
|
|
[Symbol.iterator]: 0,
|
|
[Symbol.isRegExp]() { },
|
|
get [Symbol.toStringTag]() {
|
|
return 0;
|
|
}
|
|
};
|