Paste your JavaScript function code to generate professional API documentation automatically.
Here is a sample function you can document:
function greet(name) {
// Returns a greeting message
return "Hello, " + name;
}
function calculateSum(a, b) {
return a + b;
}
After pasting similar code into the tool, it will produce structured markdown documentation.