JavaScript Coding Style, Error handling

JavaScript Coding Style

JavaScript Error Handling — try…catch

try..catch