Cursos
Iniciar sesión
Comenzar a aprender IA
Cursos
Iniciar sesión
Comenzar a aprender IA
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
Audio adding
1 Votes
playground input
0 Votes
What is problem in this code
0 Votes
Software developer
0 Votes
This Program Does Something Weird. Can You Explain Why?
1 Votes
How I can use div
0 Votes
Asking for final year project ideas!
1 Votes
TIPS From Veterans
1 Votes
Html issue
0 Votes
Cybersecurity jobs without degree
0 Votes