题解 | #求二次方#
求二次方
http://www.nowcoder.com/practice/b7a8647e33d84f5c88acdd7c81a85fdf
function square(arr) {
const newArray = []
arr.forEach(v => {
// 使用Math求平方
// newArray.push(Math.pow(v,2))
newArray.push(v*v);
});
return newArray;
} 
顺丰集团工作强度 276人发布
查看28道真题和解析