Implement HTML Escape

# Introduction In this challenge, we will tackle a real interview question from a big company - implementing HTML escape. The goal is to create an `escapeHTML` function that takes an HTML string as input and returns the escaped string according to the specified escape rules. The function should replace certain characters with their corresponding HTML entities, such as `&` with `&amp;`, `<` with `&lt;`, `>` with `&gt;`, and `"` with `&quot;`.

|
60 : 00

Click the virtual machine below to start practicing