跳到主要内容

MissingCloseBracket

等级:错误

缺少 ] 以关闭中括号

如何修复​

为数组、数组模式或索引补上右中括号。

修改前​

let values = [1, 2; 

修复后​

let values = [1, 2];