I\'d like for something like 5 + 6 to return \"56\" instead of 11.
5 + 6
\"56\"
11
You can return a number by using this trick: not recommended
[a] + b - 0
Example :
let output = [5] + 6 - 0; console.log(output); // 56 console.log(typeof output); // number