+ 1

why we are +operator here

document.write ( i+"<br/>")

14th Oct 2016, 2:52 PM
shashanth
shashanth - avatar
2 Answers
+ 3
+ here is the string concatenation operator. For example, "foo" + "bar" is "foobar". In your code, it is used to add a <br> (line break) after printing the value of i.
14th Oct 2016, 2:55 PM
Zen
Zen - avatar
+ 1
ok that you
14th Oct 2016, 2:57 PM
shashanth
shashanth - avatar