Skip to content

Commit

Permalink
Replaced let by var
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastianZ committed Jan 7, 2022
1 parent 5acb117 commit dade275
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions csstest.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit dade275

Please sign in to comment.