Too Long; Didn't Read
In this paper, we’ll talk about the conversion from a string to a string object. We know that the string is not an object, so why does it have properties? Because V8 converts a string into an object first when operating the properties of the string. The conversion is invisible to developers, but in V8, you can see the conversion detail and understand the source code of the String object. V8 will convert s to a String object when we call.indexOf().