mirror of
https://github.com/swc-project/swc.git
synced 2024-12-25 06:36:08 +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](); |