js基础

  • array
l1 = [1, 2, 3, 9]
l1.forEach(function(v, i, array){console.log(v, i, array)})
原文地址:https://www.cnblogs.com/dzhs/p/14340090.html