annotating javascript code example
Example: javascript annotations
// Of course JavaScript doesn't have them, but are there additional libraries or proposed language extension, for example
//Example:
@type {folder.otherjsmodule.foo}
function(){
foo = folder.otherjsmodule.foo();
...
return foo;
};
//Source: https://stackoverflow.com/questions/17065949/javascript-annotations