Test isn't passing

Tell us what’s happening:
Describe your issue in detail here.

Can someone tell me what I’m doing wrong, because I’m stumped
Your code so far


let myArray = [1, 2, 3];
let arraySum = myArray.reduce((previous, current =>  previous + current);
console.log(`Sum of array values is: ${arraySum}`);

Your browser information:

User Agent is: Mozilla/5.0 (X11; CrOS x86_64 14150.64.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.104 Safari/537.36

Challenge: Catch Unclosed Parentheses, Brackets, Braces and Quotes

Link to the challenge:

This challenge is about finding unmatched ()s. If you look at the red squiggle showing up in the editor, it is showing the location of an unmatched ()s.

Ok, thank you so much!

1 Like