javascript3道练习题.js var john = [89,120,103]; var sum=0; for(var i = 0; i < john.length; i++){ sum += john[i]; } var mean1 = sum / john.length; console.log("john:&
JavaScript核心语法 const heroes = []; console.log(heroes[0]); heroes[0] = '蝙蝠侠'; heroes[1] = '神奇女侠'; heroes[2] = '闪电侠'; heroes[5] = '水行侠'; console.log(heroes); const mix
搭建前端开发环境.pdf 搭建前端环境 1.安装 JavaScript 运行时 -- Nod (1)配置 NPM npm config set prefix "D:\Program Files\nodejs\node_global" npm config set cache "D:\Progra