/** * Converts HTML entities to their corresponding characters. * * @since 1.0.0 * * @param {string} str - The string containing HTML entities. * * @return {string} - The string with HTML entities replaced by their corresponding characters. * * @example * * unescape('<h1>Hello, World!</h1>'); * // => '