// bad
var
errorMessage =
'This is a super long error that was thrown because of Batman. When you stop to think about how Batman had anything to do with this, you would get nowhere fast.'
;
// bad
var
errorMessage = 'This
is
a
super
long error that was thrown because
of Batman. When you stop to think about how Batman had anything to
do
with
this
, you would
get
nowhere
fast.';
// good
var
errorMessage =
'This is a super long error that was thrown because '
+
'of Batman. When you stop to think about how Batman had anything to do '
+
'with this, you would get nowhere fast.'
;
联系客服