how to make something a string in javascipt code example Example: javascript to string num.toString();