TypeScriptStringat

Returns the item at the given index (supports negative indices).

Syntax

str.at(index: number): string | undefined