Fire_jsdoc 3 generates javascript API documentation 1. javascript annotation specifications when writing javascript files, some annotations are generally added. For example, some files, classes, methods, and attributes should be annotated with appropriate tags and types. It is not only convenient for us to read, but also a good habit. The greater benefit is that we can generate help documents based on these annotations. The following is a more standard javascript annotation example. 12345678910111213141516171819202122232425262728293031323334353637/*** MyClass class * @ class MyClass * @ constructor */function MyClass () {/*** a property * @ property a * @ type int **/var a = 0; /** get the value of A @ memberof MyClass @ method getA @ param returnType {int} and the value to be set @ example ele. setReturnType ('20140901'); **/function setA (a) {this. a = a;}/** set the value of A @ memberof MyClass @ method getA @ param returnType {int} to the value of @ example ele. setReturnType ('20140901'); **/function getA () {return ;}}