1let valueDisplays = document.querySelectorAll(".num"); 2let interval = 4000; 3 4valueDisplays.forEach((valueDisplay) => { 5 let startValue = 0; 6 let endValue = parseInt(valueDisplay.getAttribute("data-val")); 7 let duration = Math.floor(interval / endValue); 8 let counter = setInterval(function () { 9 startValue += 1; 10 if (endValue >= 3000) { 11 startValue += 49 12 } 13 valueDisplay.textContent = startValue; 14 if (startValue == endValue) { 15 clearInterval(counter); 16 } 17 }, duration); 18 console.log(startValue) 19 console.log(endValue) 20 console.log(duration) 21 22});
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.