PageSourceSearch

https://asteroidalert.netlify.app/js/compareSpeed.js

js asteroidalert.netlify.app collected 2026-10-03 10:28:09 UTC 534 bytes, 17 lines download raw bytes

1function compareSpeed(asteroidSpeed) {
2  const averageSpeedOfRifleBulletInKiloMeterPerSec = 1;
3  if (asteroidSpeed <= 1) {
4    return `
5      <img class="comparison-image" src="../assets/images/rifle-bullet.png" alt="A Rifle bullet"></img>
6      <p>Bullet</p>
7    `;
8  } else {
9    return `
10      <img class="comparison-image" src="../assets/images/rifle-bullet.png" alt="A Rifle bullet"></img>
11      <p>
12        <span>${times(asteroidSpeed, averageSpeedOfRifleBulletInKiloMeterPerSec)}X</span>
13        Bullet
14      </p>
15    `;
16  }
17}

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.