showing results for - "js module exports documentation comments"
Guadalupe
25 Oct 2018
1module.js
2---------
3/**
4* This comment will work :)
5*/
6function main(){
7/**
8* This comment won't work :(
9*/
10}
11module.exports = main;
12__________________________________________________
13another.js
14----------
15const main = require('./module.js');
16
17main(); // This will show the comment when hover