Run Code
|
API
|
Code Wall
|
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
Just stop thinking about it and go eat
challenge
fb_series
js
game green
Javascript reverse string, one index
Set(), union, intersection, difference
not worked!!
Set(), union, intersection, difference
Copy of "Javascript is Weird"