Converting a number to a string

suggest change
String(0) === '0'

String(0) will convert the number (0) into a string ('0').

A shorter, but less clear, form:

'' + 0 === '0'

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents