If you like SEOmastering Forum, you can support it by - BTC: bc1qppjcl3c2cyjazy6lepmrv3fh6ke9mxs7zpfky0 , TRC20 and more...

 

Can javascript code be broken in different lines?

Started by chinmay.sahoo, 02-09-2016, 06:12:35

Previous topic - Next topic

chinmay.sahooTopic starter

Breaking is possible within a string statement by using a backslash \ at the end but not within any other javascript statement.
that is ,
dоcument.write("Hello \ world");
is possible but not dоcument.write \
("hello world");



If you like SEOmastering Forum, you can support it by - BTC: bc1qppjcl3c2cyjazy6lepmrv3fh6ke9mxs7zpfky0 , TRC20 and more...