An open API service indexing awesome lists of open source software.

https://github.com/bell-kevin/training-js-10-loop-statement---for

Training JS #10: loop statement --for. function pickIt(arr){ var odd=[], even=[]; for (let i = 0; i < arr.length; i++) { if (arr[i] % 2 === 0) { even.push(arr[i]) } else { odd.push(arr[i]) } } return [odd,even]; }
https://github.com/bell-kevin/training-js-10-loop-statement---for

codewars-kata-solution

Last synced: over 1 year ago
JSON representation

Training JS #10: loop statement --for. function pickIt(arr){ var odd=[], even=[]; for (let i = 0; i < arr.length; i++) { if (arr[i] % 2 === 0) { even.push(arr[i]) } else { odd.push(arr[i]) } } return [odd,even]; }

Awesome Lists containing this project