9

That is a warning stemming from snippets like:

a="hello\
world"

Apparently JsBin does not support the line continuation character unless a specific option is set.

How to set the mentioned multi-string option?

Thanks.

antonio
  • 10,629
  • 13
  • 68
  • 136

1 Answers1

29

Don't know if you need this anymore, but use: /*jshint multistr: true */

Example:

/*jshint multistr: true */
var data = "multiline \
text \
here.";

It will simply remove warning.

user1548072
  • 478
  • 1
  • 6
  • 9