lint/test/linters/javascript_es/javascript_bad_1.js

11 lines
236 B
JavaScript
Raw Permalink Normal View History

var teamId = "teamId"
var booleanTest = false;
2020-02-04 09:49:58 -05:00
function checkTeamIDVariable(teamId, booleanTest) {
if (typeof teamId != "undefined" || Boolean(!!booleanTest)) {
console.log(teamId)
2020-02-04 09:49:58 -05:00
}
}
checkTeamIDVariable(teamId, booleanTest)