10638 var a = arguments,
10639 n = M.replaceTarget ? "replaceWith" : "html";
10640 q(M.target)
10641 [n](e)10642 .each(function () {
10643 d.apply(this, a);
10644 });
8062 var duration = Drupal.webform.states[effect].duration;
8063 $(e.target)
8064 .closest(".js-form-item, .js-form-submit, .js-form-wrapper")
8065 [effect](duration); 8066 }
8067 });
8068 Drupal.states.State.aliases["invisible-slide"] = "!visible-slide";
8179 var duration = Drupal.webform.states[effect].duration;
8180 $(e.target)
8181 .closest(".js-form-item, .js-form-submit, .js-form-wrapper")
8182 [effect](duration); 8183 }
8184 });
8185 Drupal.states.State.aliases["invisible-slide"] = "!visible-slide";
11135 var a = arguments,
11136 n = M.replaceTarget ? "replaceWith" : "html";
11137 q(M.target)
11138 [n](e)11139 .each(function () {
11140 d.apply(this, a);
11141 });
8559 var duration = Drupal.webform.states[effect].duration;
8560 $(e.target)
8561 .closest(".js-form-item, .js-form-submit, .js-form-wrapper")
8562 [effect](duration); 8563 }
8564 });
8565 Drupal.states.State.aliases["invisible-slide"] = "!visible-slide";
It is recommended to use a multiline expression with proper use of newlines; otherwise, it can cause confusion and have a different outcome than what the developer intended.
Consider the following code-snippet:
someFuncCall()
[2].concat([3])
The two lines are being interpreted as one expression i.e
someFuncCall()[2].concat([3])
This might even throw a runtime error if someFuncCall()
does not return a multi-dimensional array.
const upperLimit = limit
(1 || 2).get();
const hello = 'world'
[1, 2, 3].forEach(addNumber);
const x = function() {}
`hello`
const y = function() {}
y
`hello`
const z = upperLimit
/regex/g.test(limit)
const upperLimit = limit;
(1 || 2).get();
// Two different expression separated using semi-colon
const upperLimit = limit
;(1 || 2).get()
const hello = 'world';
[1, 2, 3].forEach(addNumber);
const x = function() {};
`hello`
const tag = function() {}
tag `hello`