What is the output of console.log (" 2 "*"3")")
What is the output of console.log (" 2 "*"3")")
1 Answer
1 year 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.
1 year ago by Ibrahim Suleiman