Understanding the concept of 'Try & Catch'

Check console for the output...