gururajbm / custom-select-tdd

Avoid use of == and != JS-0050
Anti-pattern
Minor
a year agoa year old
Expected '!==' and instead saw '!='
108      const contentType = response.headers.get('content-type');
109      if (
110        response.status === 404 ||
111        (contentType != null && contentType.indexOf('javascript') === -1)112      ) {
113        // No service worker found. Probably a different app. Reload the page.
114        navigator.serviceWorker.ready.then(registration => {
Expected '===' and instead saw '=='
 60    .then(registration => {
 61      registration.onupdatefound = () => {
 62        const installingWorker = registration.installing;
 63        if (installingWorker == null) { 64          return;
 65        }
 66        installingWorker.onstatechange = () => {