mirror of
https://github.com/swc-project/swc.git
synced 2024-12-22 21:21:31 +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](); |