Create Strings using Template Literals
i tried to pass this test and i couldn’t so i clicked get a hint and looked into the solution but i didnt understand what the hell it is and what the item is in the solution?and what is => after item?
the test says i should use a loop but i cant find a for in the solution though it passes the test.
const resultDisplayArray = arr.map(item => `<li class="text-warning">${item}</li>`);