fixes the Advanced Code Solution to make it work when run tests in the Convert HTML Entities exercise (#24930)

* fix in the Advanced Code Solution to make it work when run tests

* making htmlEntities a const to fix the example
This commit is contained in:
Pablo Rubianes
2018-10-25 17:41:36 -03:00
committed by Randell Dawson
parent a2e01e59db
commit 5c2bd53d5c
6 changed files with 6 additions and 6 deletions

View File

@ -107,7 +107,7 @@ Explain solution here and add any relevant links
```javascript
function convertHTML(str) {
// Use Object Lookup to declare as many HTML entities as needed.
htmlEntities={
const htmlEntities={
'&':'&',
'<':'&lt;',
'>':'&gt;',