invalid-array-index

当编译器检测到使用了无效的数组索引时引发:

  1. public function some(var a)
  2. {
  3. var b = [];
  4. let a[b] = true;
  5. }