• Cursos
  • Compilador de Código
  • Debatir
  • Precios
  • Teams
Menu

Sesiones de PyR

What is the output of this code? for (var i = 5; i <9; i++) {document.write (9-i);}
codecodingdeveloperjavascriptjsvariables
6 Votos
2 Respuestas
12th Aug 2017, 12:24 PM
Tahir Usman
Tahir Usman - avatar
document.write(Hello world)
{document.write<script>
2 Votos
3 Respuestas
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 Votos
9 Respuestas
31st Aug 2016, 8:42 PM
Dan-Awoh Emmanuel
Dan-Awoh Emmanuel - avatar
En tendencia hoy
What is a simple and easy way to learn ruby? :)
1 Votes
Help
1 Votes
How do i make a lexer and parser
1 Votes
Lesson Takeaways
0 Votes
If we already have the DELETE command in SQL, why do we need TRUNCATE?
2 Votes
Order of AI courses
0 Votes
Saved code
0 Votes
I’m a beginner and looking to learn the basics
0 Votes
How to get Intergalactic champion badge?
0 Votes
What’s wrong
0 Votes