Improve your javascript skills with Codewars javascript challenge. To join Codewars go to www.codewars.com/r/f-qT9g
Steps I took to complete this Codewars Javascript challenge:
1) Create an empty array.
2) Iterate through all the possible divisors (except for one and the integer itself!).
3) Determine whether the number is a viable divisor.
4) Figure out if you're dealing with a prime number.
Code it yourself to level up you javascript skills!
No better way to learn than to JUST DO IT!
To complete this challenge I used:
remainder operator: https://goo.gl/L3qk1H
isInteger(): https://goo.gl/xjTEjX
push(): https://goo.gl/Lj3Sfj
length: https://goo.gl/bLkHJf