'use strict';

/**
 * The smallest way to encode a character.
 *
 * @param {number} code
 * @returns {string}
 */
function formatBasic(code) {
  return '&#x' + code.toString(16).toUpperCase() + ';'
}

exports.formatBasic = formatBasic;
//# sourceMappingURL=format-basic.js.map
