ES6: Create Strings using Template Literals-Bug

Dear Support Team,

I just wanted to inform you, that the bug regarding the afore mentioned challenge still exists.
The original thread discussion this topic has been closed (Create Strings using Template Literals - Invalid regular expression flags), yet the challenge still brings in this error:

// running test
Invalid regular expression flags
// tests completed

Reset code, hard refresh etc. has not helped. The code I tried to pass the challenge with is the following:

const resultDisplayArray = [];
for (let i = 0; i < arr.length; i++) {
resultDisplayArray.push(<li class="text-warning">${arr[i]}</li>)
}

Best of regards,

1 Like