javascript to str code example Example 1: javascript to string num.toString(); Example 2: js variable to string `String text ${expression}`