• non-array-update

    non-array-update

    当编译器检测到正在对非数组值执行数组更新操作时引发:

    1. public function some()
    2. {
    3. var b = 1.2;
    4. let b[0] = true; // variable 'b' cannot be used as array
    5. }