I am stucked here, i don't know what to do

Tell us what’s happening:

  **Your code so far**

const result = {
success: ["max-length", "no-amd", "prefer-arrow-functions"],
failure: ["no-var", "var-on-top", "linebreak"],
skipped: ["no-extra-semi", "no-dup-keys"]
};
function makeList(arr) {
// Only change code below this line
const failureItems = [];
// Only change code above this line

return failureItems;
}

const failuresList = makeList(result.failure);
  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.128 Safari/537.36.

Challenge: Create Strings using Template Literals

Link to the challenge:

The text on the left describes pretty much what you need to do, so can you be more specific about your problem?

It’s a for-loop that creates a string using the template-literal and adds that to the given list with the appropriate methode.

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.