In JavaScript putting semicolon at the end of statement is optional. so that Missing of semicolons is not an error.
Divide by zero is also not an error in JavaScript when we divide any with zero it give result 'Infinite'.