(s)
| 20240 | } |
| 20241 | } |
| 20242 | function escapeHTML(s) { |
| 20243 | return s |
| 20244 | .replace(/&/g, '&') |
| 20245 | .replace(/</g, '<') |
| 20246 | .replace(/>/g, '>') |
| 20247 | .replace(/"/g, '"') |
| 20248 | .replace(/'/g, ''') |
| 20249 | } |
| 20250 | function inherit(s, ...o) { |
| 20251 | const i = Object.create(null) |
| 20252 | for (const o in s) i[o] = s[o] |
no test coverage detected