String Index

A zero-based position used to locate a character in a String.

What is String Index in JavaScript?

String Index — A zero-based position used to locate a character in a String.

const city = "Denver";
const characterCount = city.length;
const firstCharacter = city[0];

Level: Apprentice · More JavaScript terms at this level

Updated

In other subjects