复制1const myLifeSummedUp = ["☕", "💻", "🍷", "🍫"] 2 3for (let item in myLifeSummedUp) { 4 console.log(item) 5} 6 7for (let item of myLifeSummedUp) { 8 console.log(item) 9}
1const myLifeSummedUp = ["☕", "💻", "🍷", "🍫"] 2 3for (let item in myLifeSummedUp) { 4 console.log(item) 5} 6 7for (let item of myLifeSummedUp) { 8 console.log(item) 9}
本题为“单选题”
题库维护不易,您的支持就是我们最大的动力!