js toString 36 code example Example 1: javascript tostring obj.toString() Example 2: js tostring toString(123);