As a way for converting a value to string, I find it less descriptive of one’s intentions. That leaves us with approaches #2 and #3, which are basically equivalent. The problem with approach #1 is that it doesn’t work if the value is null or undefined.
The three approaches for converting to string are:
Three approaches for converting to string This blog post explains each way, along with its advantages and disadvantages. In JavaScript, there are three main ways in which any value can be converted to a string.