📜  在 javascript 代码示例中尝试使用 for 循环捕获

📅  最后修改于: 2022-03-11 15:03:37.103000             🧑  作者: Mango

代码示例1
let object = ['foo', 'bar'], i;  
try { 
    for (i = 0, len = object.length; i