willtheorangeguy / Note-Style-Guide

Require template literals instead of string concatenation JS-0246
Anti-pattern
Minor
5 months ago2 years old
 5477                        r["scroll" + a],
 5478                        e.body["offset" + a],
 5479                        r["offset" + a],
 5480                        r["client" + a], 5481                      ))
 5482                    : void 0 === n
 5483                      ? S.css(e, t, i)
 5476                        e.body["scroll" + a],
 5477                        r["scroll" + a],
 5478                        e.body["offset" + a],
 5479                        r["offset" + a], 5480                        r["client" + a],
 5481                      ))
 5482                    : void 0 === n
 5475                      Math.max(
 5476                        e.body["scroll" + a],
 5477                        r["scroll" + a],
 5478                        e.body["offset" + a], 5479                        r["offset" + a],
 5480                        r["client" + a],
 5481                      ))
 5474                    ? ((r = e.documentElement),
 5475                      Math.max(
 5476                        e.body["scroll" + a],
 5477                        r["scroll" + a], 5478                        e.body["offset" + a],
 5479                        r["offset" + a],
 5480                        r["client" + a],
 5473                  : 9 === e.nodeType
 5474                    ? ((r = e.documentElement),
 5475                      Math.max(
 5476                        e.body["scroll" + a], 5477                        r["scroll" + a],
 5478                        e.body["offset" + a],
 5479                        r["offset" + a],