I'll put explicit braces everywhere. Comparison against `null` is correct, though, otherwise you'd get `TypeError`s. Take another look.