What does the following code do and why? console.log(1+"2")
The code outputs the text "12" to the console, demonstrating a concatenation of a string and an integer.
TM
The code outputs the text "12" to the console, demonstrating a concatenation of a string and an integer.