deno.land / x / lodash@4.17.19 / npm-package / _unescapeHtmlChar.js
12345678910111213141516171819202122var basePropertyOf = require('./_basePropertyOf');
/** Used to map HTML entities to characters. */var htmlUnescapes = { '&': '&', '<': '<', '>': '>', '"': '"', ''': "'"};
/** * Used by `_.unescape` to convert HTML entities to characters. * * @private * @param {string} chr The matched character to unescape. * @returns {string} Returns the unescaped character. */var unescapeHtmlChar = basePropertyOf(htmlUnescapes);
module.exports = unescapeHtmlChar;
Version Info
External Dependencies