function everyNth(arr, nth) { return arr.filter((v, i) => i % nth === nth - 1); }
Copyright© 2013-2020
All Rights Reserved 京ICP备2023019179号-8