function testFunc(firstVar, secondVar = 2) { var testVar = "nope"; let testVar = 1.23; var boolVar = false; if(testVar != "yep") { console.error("BAD"); } return true; );