Suppressing TypeError exception in Javascript <p>Trying to retrieve values from undefined in Javascript throws a TypeError exception. I'm reading a book that says you can guard against that error with the &amp;&amp; operator. However, it doesn't say why I would want to suppress the error. Can someone please explain why that would be useful?</p>