Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
on_off
//JavaScript-C24.2.0 (SpiderMonkey) var on_off = () =>{ for(var i=1;i<=100;i++){ if((i%3==0) && (i%5==0)) print("OnOff"); else if (i%5 == 0) print("Off"); else if (i%3 == 0) print("On"); else print(i); } } on_off();
run
|
edit
|
history
|
help
0
Triangle
Mreee
Jason's Code Challenge
ECMAScript5 - js
replaceMethod
Leaning Java Script
GCD
TaskhelTemplate
What the hell is javascript
JS exam part 2 - Circumference