Converting a number to a string
suggest changeString(0) === '0'
String(0) will convert the number (0) into a string ('0').
A shorter, but less clear, form:
'' + 0 === '0'
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents