javascript make a string code example Example 1: javascript to string num.toString(); Example 2: new line javascript console.log('Hello \n World');