Cursos
Cursos
Compilador de Código
Compilador de Código
Debatir
Teams
Iniciar sesión
Registrarse
Menu
Sesiones de PyR
Buscar
Buscar
Haz una pregunta
Haz una pregunta
k=6; for(var i=0;i<k;i++){ k+=0.5; } alert(i);
for
2 Votos
2 Respuestas
23rd Jun 2017, 7:53 AM
islam moheb
var arr=[1,4,6,4,2]; for(var i=0; i<3; i++){ arr[i]=arr[i]+arr[i+2]; } document.write(arr[3]);
javascript
js
script
3 Votos
4 Respuestas
10th Apr 2023, 11:30 AM
Manshu
why the output =0 var arr=[1,2,3,4]; var x=1; for(var i=0;i<arr.length ;i++){ x*=i; } alert (x);
js
3 Votos
6 Respuestas
22nd Sep 2018, 7:49 PM
olbab omer
var x=1; for(var i=0;i<3;i++){ x*=i; } alert(x); //output= 0 //do u have any explanation?
for
var
1 Voto
3 Respuestas
17th Jun 2017, 1:58 AM
islam moheb
why is the answer to this question 12? k=6; for(var i=0; i<k; i++){k+= 0.5; } document.write(i);
12?
answer
is
why
2 Votos
4 Respuestas
17th Nov 2020, 5:10 PM
Francis Woli
function x(){ for(var i = 1; i<=5; i++) { setTimeout(function (){ console.log(i); }, i * 1000); }
javascript
0 Votos
3 Respuestas
8th Dec 2020, 6:21 AM
harsh tiwari
var arr = document. getElementsByTagName(" img "); for(var x=0; x<arr. ; x++) { arr[x]. = "demo.jpg"; }
dom
javascript
-6 Votos
1 Respuesta
24th Oct 2017, 7:28 AM
vignesh rajasekaran
What is the output of this code? for(var x =0; x==x; x++) { if(x > 5 && x < 8) { document.write(x); break;} }
js
5 Votos
5 Respuestas
3rd Mar 2019, 12:38 PM
david chongo
Incorrectly using functions inside loops.
<=
=
1;
10;
for(var
i
i++)
1 Voto
1 Respuesta
12th Jun 2018, 10:36 AM
Carlewis
Haz una pregunta
Haz una pregunta
Haz una pregunta
Haz una pregunta
En tendencia hoy
How to get better with problem-solving and programming
2 Votes
Odd even threads without condition variable
0 Votes
Ejercicio Pytho
0 Votes
What is that z for
0 Votes
Bug on "Java for Beginners Module 3 Quiz"
1 Votes
Suggestions needed
4 Votes
Write a program to find the strings are in isogram or not
0 Votes
What's wrong with this code ? ( Beginner)
1 Votes
Please rate my code from 1 to 10
2 Votes
How to start
0 Votes