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