willtheorangeguy / willtheorangeguy.github.io

Initialization in variable declarations against recommended approach JS-0119
Anti-pattern
Minor
5 months ago2 years old
23          }
24        );
25      console.debug("User theming enabled.");
26      let t,27        n = s();
28      switch ((console.debug(`User's theme variation: ${n}`), n)) {
29        case 0:
 5(() => {
 6  (() => {
 7    var t,
 8      n, 9      e = document.body;
10    function s() {
11      return parseInt(localStorage.getItem("wcTheme") || 2);
 4
 5(() => {
 6  (() => {
 7    var t, 8      n,
 9      e = document.body;
10    function s() {
4005            )
4006          ) {
4007            var e,
4008              n,4009              o = i.default(this._element).closest(".nav, .list-group")[0],
4010              r = l.getSelectorFromElement(this._element);
4011            if (o) {
4004              i.default(this._element).hasClass("disabled")
4005            )
4006          ) {
4007            var e,4008              n,
4009              o = i.default(this._element).closest(".nav, .list-group")[0],
4010              r = l.getSelectorFromElement(this._element);