0
Where is the problem?
for (i=1;i<=16;i++){ if (i==13){ continue; } console.log(i+"<br/>"); } Gives output as 1<br/> 2<br/> ... .. I need as 1 2 3 4 ...
3 Answers
+ 4
Md Imraj Hossain
console.log by default add new line so no need to do anything.
Just do console.log(i)
https://code.sololearn.com/Whq5O2074SNf/?ref=app
+ 1
Yes it is the right output.
if you are wondering about br tag, then it's just a string which is logged to the console .
0
How to remove <br/>
Same way I have done earlier but there was no such problem.