es6:
//分隔数组 135 / 246funcArray(arr){const even = arr.filter((_item, index) => index % 2 === 0);const odd = arr.filter((_item, index) => index % 2 !== 0);},
转:https://www.cnblogs.com/520BigBear/p/11457273.html