1const installEvent = () => { 2 self.addEventListener("install", () => { 3 console.log("service worker installed"); 4 }); 5}; 6installEvent(); 7 8const activateEvent = () => { 9 self.addEventListener("activate", () => { 10 console.log("service worker activated"); 11 }); 12}; 13activateEvent();
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.