js module.exports documentation comments

JavaScript
module.js
---------
/**
* This comment will work :)
*/
function main(){
/**
* This comment won't work :(
*/
}
module.exports = main;
__________________________________________________
another.js
----------
const main = require('./module.js');

main(); // This will show the comment when hover
Source

Also in JavaScript: