valueOf() returns the primitive value of a string.
let result = text.valueOf() is the same as let result = text: