Create Strings using Template Literals please help

Tell us what’s happening:
// running test
invalid regular expression flag l
// tests completed

I got the error above, the function seems to be working fine to return the results but says the Template strings were not used

Your code so far

const result = {
  success: ["max-length", "no-amd", "prefer-arrow-functions"],
  failure: ["no-var", "var-on-top", "linebreak"],
  skipped: ["id-blacklist", "no-dup-keys"]
function makeList(arr) {
  "use strict";

  // change code below this line
  /*let resultDisplayArray = [];
    for (let i = 0; i < arr.length; i++) {
    const x = arr[i];
    resultDisplayArray.push(`<li class="text-warning">${x}</li>`);
  const resultDisplayArray = => { return `<li class="text-warning">${i}</li>`});
  // change code above this line

  return resultDisplayArray;
 * makeList(result.failure) should return:
 * [ <li class="text-warning">no-var</li>,
 *   <li class="text-warning">var-on-top</li>, 
 *   <li class="text-warning">linebreak</li> ]
const resultDisplayArray = makeList(result.failure);

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:61.0) Gecko/20100101 Firefox/61.0.

Link to the challenge:

I have the same problem, but still doesn’t find any solution.

It is a known bug in FCC (search for this topic and you will see this). Just skip for now.