paint-brush
What is String Object Analysis in Chrome V8by@huidou
535 reads
535 reads

What is String Object Analysis in Chrome V8

by 灰豆14mSeptember 15th, 2022
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

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().

Companies Mentioned

Mention Thumbnail
Mention Thumbnail
featured image - What is String Object Analysis in Chrome V8
灰豆 HackerNoon profile picture
灰豆

灰豆

@huidou

a big fan of chrome V8

About @huidou
LEARN MORE ABOUT @HUIDOU'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

灰豆 HackerNoon profile picture
灰豆@huidou
a big fan of chrome V8

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite