diff options
Diffstat (limited to 'js/bundle_test.js')
-rw-r--r-- | js/bundle_test.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/js/bundle_test.js b/js/bundle_test.js index f36fc8e..b8d02f0 100644 --- a/js/bundle_test.js +++ b/js/bundle_test.js @@ -15,8 +15,8 @@ const CRC_64_POLY = new Uint32Array([0xD7870F42, 0xC96C5795]); * @return {string} footprint */ function calculateCrc64(data) { - let crc = new Uint32Array([0xFFFFFFFF, 0xFFFFFFFF]); - let c = new Uint32Array(2); + const crc = new Uint32Array([0xFFFFFFFF, 0xFFFFFFFF]); + const c = new Uint32Array(2); for (let i = 0; i < data.length; ++i) { c[1] = 0; c[0] = (crc[0] ^ data[i]) & 0xFF; @@ -58,7 +58,7 @@ function checkEntry(entry, data) { describe("BundleTest", () => { const testData = makeTestData(); - for (let entry in testData) { + for (const entry in testData) { if (!testData.hasOwnProperty(entry)) { continue; } |