跳到主要内容

MissingComma

等级:错误

列表中缺少 ,

如何修复​

在相邻的列表项、参数或记录字段之间添加逗号。

修改前​

let values = [1 2]; 

修复后​

let values = [1, 2];