• Cours
  • Compilateur de code
  • Discuter
  • Tarification
  • Équipes
Menu

Discussions Q&R

What is the output of this code? for (var i = 5; i <9; i++) {document.write (9-i);}
codecodingdeveloperjavascriptjsvariables
6 Votes
2 Réponses
12th Aug 2017, 12:24 PM
Tahir Usman
Tahir Usman - avatar
document.write(Hello world)
{document.write<script>
2 Votes
3 Réponses
8th Mar 2018, 3:39 PM
Pooja Ahirwar
Pooja Ahirwar - avatar
function can_i_enter(age) if (age < 6) { document.write ("you are not allowed to watch Dead pool after 6:00pm.");} else if (age>=6 && age<17) {document.write("you must be accompanied by a guardian who is 21 or older.");} else if (age>=17 && age<25) {document.write ("you are allowed to watch Dead pool, right after you show some ID. ")} else if (age>=25) { document.write ("Yah! you can watch Dead pool with no strings attached!");} else { document.write ("Invalid age. ");} can_i_enter (24);
javascript
0 Vote
9 Réponses
31st Aug 2016, 8:42 PM
Dan-Awoh Emmanuel
Dan-Awoh Emmanuel - avatar
Aujourd'hui en vedette
I have finished first in Saturn League 3 times in a row, why have I not been given the badge for “Intergalactic Champion”
3 Votes
I am new
1 Votes
Python intermediate help with dictionaries
0 Votes
Changing String Variables into int in C++
0 Votes
Advertising in Sololearn
1 Votes
Fill in the blank to declare a static variable.
0 Votes
Marquee
1 Votes
RUST'S FUTURE
1 Votes
Any Advise?
1 Votes
Popsacles Aufgabe
1 Votes