Search
Write the catch block in the code given below, to handle only instances of TypeError and re-throw any other error instances.
catch
TypeError
The output in case of a TypeError, should be "There was a TypeError"