import { escape as escape$1 } from "../../string/escape.mjs"; import { toString } from "../util/toString.mjs"; //#region src/compat/string/escape.ts /** * Converts the characters "&", "<", ">", '"', and "'" in `str` to their corresponding HTML entities. * For example, "<" becomes "<". * * @param str The string to escape. * @returns Returns the escaped string. * * @example * escape('This is a