indexOf() | What does the indexOf Function do? | Learn JavaScript

preview_player
Показать описание
indexOf() | What does the indexOf Function do? | Learn JavaScript

Рекомендации по теме
Комментарии
Автор

The space between “o and W” in Hello World is counted as a character (my guess anyway )

onlinemoney
Автор

Thanks for this video! Simple explainer :)

grantemerson
Автор

hahaha i am checking this video because the same probloem of 6
and you saying nahhh lets we move that

marcdavey
Автор

thanks for the video, I'm going through the Hack Reactor basic prep course and this was one of their questions and I totally didn't get it.

LatinoWebStudio
Автор

The World returned 6 because it counted the space as an index too.

taofeeqomotolani
Автор

not super helpful, I get that it lays down the basics, but I'm working with Strings and Substrings rn and it doesn't exactly cover how indexOf interacts with it. overall though, good vid for beginners.

qtokarski
Автор

Lmao come on bruh. If you’re going to teach us how to use indexOf you should at least explain the ‘world’ part. That is exactly what I’m confused about and needed to know. Can someone please explain how it works?

BobaT__
visit shbcf.ru