tsconfig.json是这样配置的
{
"compilerOptions": {
"module": "commonjs",
"lib": [ "dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable" ],
"target": "es5",
"experimentalDecorators": true,
"skipLibCheck": true,
"downlevelIteration": true,
"allowJs": true,
},
"exclude": [
"node_modules",
"library",
"local",
"temp",
"build",
"settings"
]
}
但是编译后的[...new Set([1,2,3])]和for(let [k,v] of new Map([[1,2],[3,4],[5,6]])){}都有问题