Is there something along the lines of python \'pass\' in javascript?
I want to do the javascript equivalent of:
try: # Something that throws exception
pass is a no-op in Python. You need it for empty blocks because
try: # Something that throws exception catch: # continue other stuff
is a syntax error. In JavaScript you can just use an empty catch block.
catch
try { // Something that throws exception } catch (e) {}