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
LazyListJS
JavaScript - Looping thru strings
BaseConverter
replaceMethod
First Non Repeating Character
Javascript Basics
#include
Aa
2-D Kinematics with accurate air drag
H