try catch in javascript

We can use try catch function in java script.

$('a').click(function (e) {
  try{
      your code here.........
  }
   catch(e){}
  return false;
});