标签:highlight fun UNC ict new each cti OLE rip
for ...of 语句
"use strict"; var name = [‘a‘,‘b‘,‘c‘]; var mark = [1, 2, 3]; for(var i of name){ // console.log(i); } var s = new Set([‘A‘, ‘B‘, ‘C‘]); s.forEach(function (element, sameElement, set) { console.log(element); }); var a = [‘A‘, ‘B‘, ‘C‘]; a.forEach(function (element) { console.log(element); }); var b = [1,2,3]; b.forEach( function (eee) { console.log(eee) });
标签:highlight fun UNC ict new each cti OLE rip
原文地址:https://www.cnblogs.com/donke/p/10014394.html