Is there something like JavaDocs for Javascript? When I press ctrl+space in netbeans IDE while
writing javascript, the javascript documentation comes out for the object specified. But this documentation is I guess Netbeans' property.
If we write javascript in proper commented way, Netbeans builds docs for our custom javascript too.
Can we find any such javascript documentation, outside Netbeans? So that we can refer to it?
Thanks for answer.
JavaScript is officially maintained by Mozilla so only documentation by Mozilla is official. The only engines that support JavaScript are currently made by Mozilla and every other engine implements ECMAScript.
JSDoc is the most popular Javascript documentation generator. All you need to do is to simply run jsdoc command with a filename as an argument. That is it. It will generate HTML file with documentation that is ready to use.
The document object represents your web page. If you want to access any element in an HTML page, you always start with accessing the document object. Below are some examples of how you can use the document object to access and manipulate HTML.
The Mozilla project provides two JavaScript implementations. The first ever JavaScript was created by Brendan Eich at Netscape, and has since been updated to conform to ECMA-262 Edition 5 and later versions.
Have a look at the doc pages at Mozilla Developer Network (MDN) for a static reference:
However, I am afraid that there is no tab-completion that can be used inside an IDE.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With