数组注意事项

push、pop、shift、unshift、splice 方法都是在原数组的基础上修改

concat、slice、filter会返回一个新的数组

原文地址:https://www.cnblogs.com/chris-oil/p/8228889.html