showing results for - "javascript options documentation"
Carina
27 Apr 2019
1/**
2 * @description
3 * Compliment someone on their something.
4 *
5 * @param {Object} options
6 * @param {String} options.name    A person's name
7 * @param {String} options.feature A person's property
8 */
9function flatter (options) {
10  options = options || {};
11  console.log('%s, loving your %s!', options.name, options.feature);
12}
13