stevemcilwaine
5/30/2019 - 4:20 PM

JS Doc example

Quick example of a JS Doc comment alongside a function

/**
 * Calculate seats per party in %
 * 
 * @param {number} seats 
 * @param {number} total 
 * @returns {string} - returns string percentage with '%'
 */