Outputs are not running in for loop JavaScript help me..? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Outputs are not running in for loop JavaScript help me..?

I omitted statement2 in for loop of javaScript and ran the program. The page is only bright display no output shown. After that I tried other codes even using default codes by SoloLearn but also not running. After doing this a normal code also not running. Help me to get out of this bug without closing SoloLearn App.

26th Jul 2020, 12:54 PM
Deepak Sanjaykumar More
Deepak Sanjaykumar More - avatar
17 Answers
+ 3
and where is your anarchist( code)?
26th Jul 2020, 1:00 PM
Oma Falk
Oma Falk - avatar
+ 3
Deepak Sanjaykumar More Yeah, it's irritating but I didn't experienced these types of errors in sololearn.
26th Jul 2020, 1:40 PM
Arctic Fox
Arctic Fox - avatar
+ 1
Deepak Sanjaykumar More the loop, you are showing is infinite loop.
26th Jul 2020, 1:29 PM
๐Ÿ‡ฎ๐Ÿ‡ณVivek๐Ÿ‡ฎ๐Ÿ‡ณ
๐Ÿ‡ฎ๐Ÿ‡ณVivek๐Ÿ‡ฎ๐Ÿ‡ณ - avatar
0
Oma Falk I didn't understand what you asked.
26th Jul 2020, 1:01 PM
Deepak Sanjaykumar More
Deepak Sanjaykumar More - avatar
0
๐™๐™ž๐™จ๐™๐™–๐™—๐™ยซโ„™๐•ช3ยป Oma Falk I'm saying run any wrong code which displays only white screen. And then run any right code it also displays only white screen in output. Use any codes. Not necessary to use that code which I typed.
26th Jul 2020, 1:14 PM
Deepak Sanjaykumar More
Deepak Sanjaykumar More - avatar
0
๐™๐™ž๐™จ๐™๐™–๐™—๐™ยซโ„™๐•ช3ยป Try yourself please before answering. "Show Console" cannot be operated.
26th Jul 2020, 1:23 PM
Deepak Sanjaykumar More
Deepak Sanjaykumar More - avatar
0
Oma Falk ๐™๐™ž๐™จ๐™๐™–๐™—๐™ยซโ„™๐•ช3ยป for (i=1; ; i++) { document.write(i + "<br />"); } Run above code in js. You can't get Show Console. And also run a correct code after running this no code will able to execute the output. But do this without closing app.
26th Jul 2020, 1:26 PM
Deepak Sanjaykumar More
Deepak Sanjaykumar More - avatar
0
๐Ÿ‡ฎ๐Ÿ‡ณVivek๐Ÿ‡ฎ๐Ÿ‡ณ Currently I have 3 Mbps speed. I don't have any net issue so please try yourself. Don't guess only conditions.
26th Jul 2020, 1:28 PM
Deepak Sanjaykumar More
Deepak Sanjaykumar More - avatar
26th Jul 2020, 1:28 PM
Deepak Sanjaykumar More
Deepak Sanjaykumar More - avatar
0
https://code.sololearn.com/Wk8J46pU1vuD/?ref=app Is my code is giving you white screen in any case?
26th Jul 2020, 1:31 PM
๐Ÿ‡ฎ๐Ÿ‡ณVivek๐Ÿ‡ฎ๐Ÿ‡ณ
๐Ÿ‡ฎ๐Ÿ‡ณVivek๐Ÿ‡ฎ๐Ÿ‡ณ - avatar
0
๐Ÿ‡ฎ๐Ÿ‡ณVivek๐Ÿ‡ฎ๐Ÿ‡ณ I knew that. You should try well finite loop after running this code. And the next finite loop also giving only white display as output. Do this without closing app.
26th Jul 2020, 1:31 PM
Deepak Sanjaykumar More
Deepak Sanjaykumar More - avatar
0
May be. If you don't close the app. The infinite loop runs in background. I am just guessing.
26th Jul 2020, 1:35 PM
๐Ÿ‡ฎ๐Ÿ‡ณVivek๐Ÿ‡ฎ๐Ÿ‡ณ
๐Ÿ‡ฎ๐Ÿ‡ณVivek๐Ÿ‡ฎ๐Ÿ‡ณ - avatar
0
๐Ÿ‡ฎ๐Ÿ‡ณVivek๐Ÿ‡ฎ๐Ÿ‡ณ Just that was I'm telling. If that loop runs continue until app get closed. Then it is hard to close app every time. And this problem is not with only loops. I tried it in other places too.
26th Jul 2020, 1:37 PM
Deepak Sanjaykumar More
Deepak Sanjaykumar More - avatar
0
๐™๐™ž๐™จ๐™๐™–๐™—๐™ยซโ„™๐•ช3ยป it's irritating to close app everytime after making a mistake.
26th Jul 2020, 1:39 PM
Deepak Sanjaykumar More
Deepak Sanjaykumar More - avatar
0
Deepak Sanjaykumar More I also did not experience this on sololearn
26th Jul 2020, 1:41 PM
๐Ÿ‡ฎ๐Ÿ‡ณVivek๐Ÿ‡ฎ๐Ÿ‡ณ
๐Ÿ‡ฎ๐Ÿ‡ณVivek๐Ÿ‡ฎ๐Ÿ‡ณ - avatar
26th Jul 2020, 1:42 PM
Deepak Sanjaykumar More
Deepak Sanjaykumar More - avatar
0
If you have omitted 2nd argument use this Syntex For(var i = 5 ; ; I++){ } If you have ommited 2nd option it make your loop infinite loop which may harmful for yr device.
28th Jul 2020, 8:20 AM
Divya Mohan
Divya Mohan - avatar