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