Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Prime Factors
//Title of this code //V8 3.31.1 function primeFactors(n) { var divisor = 2; var factors=[]; while (n>2) { if (n%divisor==0) { factors.push(divisor); n=n/divisor; } else divisor++; } print(factors); } primeFactors(69);
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
Arrays
JS exam part 2 - MonthCrypto
ROSHAMBO BITCHES!
merge json array objects based on ID
class Stack
Futbal
My Code1
2-D Kinematics with accurate air drag
Bhbhbh
Looping Strings
Please log in to post a comment.