What is the output of console.log (" 2 "*"3")")
What is the output of console.log (" 2 "*"3")")
1 Answer
2 years ago by KOVARSHINI L
The output of console.log (" 2 "*"3")") is SyntaxError: Invalid or unexpected token because of the addition of ") which the interpreter does not expect.
If you remove them the output will be 6.
2 years ago by Ibrahim Suleiman