Replaced uses of var with const/let

This commit is contained in:
Steve Gravrock
2022-06-08 19:07:43 -07:00
parent 4af86f5398
commit 135ff20123
73 changed files with 1384 additions and 1391 deletions

View File

@@ -35,9 +35,9 @@ getJasmineRequireObj().Suite = function(j$) {
};
Suite.prototype.getFullName = function() {
var fullName = [];
const fullName = [];
for (
var parentSuite = this;
let parentSuite = this;
parentSuite;
parentSuite = parentSuite.parentSuite
) {
@@ -89,8 +89,8 @@ getJasmineRequireObj().Suite = function(j$) {
};
function removeFns(queueableFns) {
for (var i = 0; i < queueableFns.length; i++) {
queueableFns[i].fn = null;
for (const qf of queueableFns) {
qf.fn = null;
}
}