/**
 * Adds two numbers.
 *
 * @example
 * ```js
 * const result = add(1, 2);
 * console.log(result); // 3
 * ```
 *
 * @param {number} a - First number
 * @param {number} b - Second number
 * @returns {number} The sum
 */
function add(a, b) {
  return a + b;
}
