• brackets - initial code

 

The initial code for mission brackets has an error:

console.log(brackets("((5+3)*2+1))");

instead of

console.log(brackets("((5+3)2+1))")); or console.log(brackets("((5+3)2+1)")); // same the first assert test