• 2022-06-16
    functionconsoleLog(){console.log(i);vari=10;console.log(i);}consoleLog();console.log(i);以上代码的打印结果分别是()
    A: 10,10,undefined
    B: undefined,10,undefined
    C: undefined,10,程序报错
    D: 10,10,程序报错