mirror of
https://github.com/swc-project/swc.git
synced 2024-12-19 03:31:45 +03:00
8 lines
183 B
TypeScript
8 lines
183 B
TypeScript
//@target: ES6
|
|
var i = {
|
|
[Symbol.iterator]: { p: null },
|
|
[Symbol.toStringTag]() { return { p: undefined }; }
|
|
}
|
|
|
|
var it = i[Symbol.iterator];
|
|
var str = i[Symbol.toStringTag](); |