/**
*
* @param title The title of the CD
* @param author The author of the CD
* @param tracks The number of tracks on the CD
* @param durationInMinutes The duration of the CD in minutes
*/
Is a format used for tooling support, it's NOT "just a style".Java & C# both provide format for XML comments, which are then used to generate API documentation and to improve auto-complete.
With these comments, a user of the function doesn't need to read through the source code to understand what it does.
A quick google shows that these tools exist for Javascript:
http://stackoverflow.com/questions/9263005/javascript-docume...
I'm sure that the fulltime javascripters here could post better examples and tooling support..