16.
Which operator can be used to concatenate a string and a number in JavaScript?
division operator /
minus operator -
multiplication operator *
plus operator +
Correct: D
The + operator in JavaScript not only concatenates two strings but can also be used to concatenate a string and a number. When used with a number and a string, it converts the number into a string and then combines both the string and the number together. For example, "Hello" + 42 would result in "Hello42".