1function toggleNav() { 2var body = document.body; 3var hamburger = document.getElementById('js-hamburger'); 4var blackBg = document.getElementById('js-hamburger__bg'); 5 6hamburger.addEventListener('click', function() { 7body.classList.toggle('js-hamburger__open'); 8}); 9blackBg.addEventListener('click', function() { 10body.classList.remove('js-hamburger__open'); 11}); 12} 13toggleNav();
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.