From dade275c681d3fa5b432e71c66e8267527b0bebb Mon Sep 17 00:00:00 2001 From: Sebastian Zartner Date: Fri, 7 Jan 2022 21:20:40 +0100 Subject: [PATCH] Replaced let by var --- csstest.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/csstest.js b/csstest.js index 2010d43..1b53cb4 100644 --- a/csstest.js +++ b/csstest.js @@ -421,13 +421,13 @@ function resetOutput() { } function runTests(filter = '') { - let specs = []; - let timeBefore = +new Date; - let duration = 0; + var specs = []; + var timeBefore = +new Date; + var duration = 0; - let removedWords = / *(?:\([^)]*\)|:.*|\b(?:CSS|Module)\b)( *)/g; + var removedWords = / *(?:\([^)]*\)|:.*|\b(?:CSS|Module)\b)( *)/g; - for (let spec in Specs) { + for (var spec in Specs) { // Filter list of specifications if (filter === 'stable' && Specs[spec].status && Specs[spec].status.stability !== 'stable') { continue;