Click the following link to see the result:
Click me! [Try it Β»](#) In the following example, the parameter `a` will return `undefined`: ## Example function getValue(){var a,b,c; a = void(b = 5, c = 7); document.write('a = ' + a + ' b = ' + b +' c = ' + c); } [Try it Β»](#) * * * ## Difference between href="#" and href="javascript:void(0)" **#** contains a location information. The default anchor is **#top**, which is the top of the webpage. While `javascript:void(0)` merely represents a dead link. When the page is very long, **#** is used to locate a specific position on the page. The format is: **# + id**. If you want to define a dead link, please use `javascript:void(0)`. ## Example Click me, nothing happens!Click me to locate the specified position!...
Footer anchor point
[Try it Β»](#)
YouTip