Open NiLinli opened 3 years ago
Safari10 twice define error
const bar = (o) => { console.log(o); for (let o = 0; o < 5; o++) console.log(o); };
We incorrectly throw a syntax error when declaring a top level for-loop iteration variable the same as a parameter. 参数和 for 循环中let 变量名相同, safari10 会错误的抛出一个错误。
影响:
{ safari10: true }
Safari10 twice define error
We incorrectly throw a syntax error when declaring a top level for-loop iteration variable the same as a parameter. 参数和 for 循环中let 变量名相同, safari10 会错误的抛出一个错误。
影响:
{ safari10: true }