4 ms·
As well as declaring variables in if blocks if (!undeclaredVariable) { var undeclaredVariable = false; }
by honua 10y ago
As well as declaring variables in if blocks
if (!undeclaredVariable) {
var undeclaredVariable = false;
}
- BasDirks 10y agoYes. I'm very glad with the addition of 'let' to ES.