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
Created at: 2020/05/01 02:43; Updated at: 2020/05/03 17:32
The question is resolved.