I have read, and discovered through my own experience, that JavaScript doesn\'t have a block scope. Assuming that the language was designed this way for a reason, can you ex
Block scope was not implemented for the following reasons:
if statement. In languages like C you would have to declare the variable outside the if statement and define it within the if statement.