Which browsers support multi-line strings?
"foo \
bar"
As usual, my main suspect for not supporting it is IE. Which IE version is the first that supports it?
All current versions of the major browsers accept multi-line strings.
Note: this technique is apparently not in compliance with browser standards; however, it works out fine when tested across all current versions of the major browsers.
\
) and a new line. (@ripper234 comment)Multiline String literals are disallowed by the Google Style Guide.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With