ES6 - Create Strings using Template Literals

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
for( let i = 0; i < arr; i++){}
const failureItems = ;
// Only change code above this line

return failureItems;
}

const failuresList = makeList(result.failure);

do you have a question?

also include this “step” url as well, happy coding :slight_smile:

thanks, figured it out.

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