Strings: [bracket notation] - Beau teaches JavaScript

preview_player
Показать описание
Bracket notation allows you to access a specific character in a string.

⭐JavaScript Playlists⭐

-
We're busy people who learn to code, then practice by building projects for nonprofits. Learn Full-stack JavaScript, build a portfolio, and get great references with our open source community.

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

You make the material not dry. Great job on the tuts! Was having trouble with other tuts.

libertysomething
Автор

This helped me understand immutability better. Thank you! Great videos.

AnnaMaria-orse
Автор

Important point

- The strings of JS are just like arrays in other languages, difference being immutability in JS.

- The first letter of a string myString is queried by ... myString[0] .

- The last letter by ... myString[myString.length - 1] .

smyasir
Автор

Like in c++ a string is an array of chars.

jahilkhalfe
Автор

can someone please post a practical example of how indexing in javascript is used? I am learning along but am having a hard time connecting this and other concepts to how I might use them later on in dev.

cesarcruz
Автор

What program are you running this in please?

jamessanday
Автор

You type so fast(another skill I wanna improve)

zcharyma