toString or == javascript code example Example: tostring js var num = 15; var n = num.toString(); /* now */ "15"