题解 | #求二次方#
求二次方
http://www.nowcoder.com/practice/b7a8647e33d84f5c88acdd7c81a85fdf
{"css":"","js":"function square(arr) {\n var new_arr = [];\n \n for(e of arr){\n new_arr.push(e*e);\n }\n \n return new_arr;\n}","html":"","libs":[]}
for of 可以遍历数组值