void vs function javascript code example Example: javascript void <a href="JavaScript:void(0)">Dead Link</a>