From be175d7d0070d26bc20922a0863c6b3f6a302c00 Mon Sep 17 00:00:00 2001 From: bwalter007 Date: Sat, 11 Apr 2026 13:19:28 +0300 Subject: [PATCH] Document charAt edge case behavior --- src/lib/es5.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/es5.d.ts b/src/lib/es5.d.ts index ced21a6d72af1..b70d8aac052c2 100644 --- a/src/lib/es5.d.ts +++ b/src/lib/es5.d.ts @@ -394,7 +394,7 @@ interface String { toString(): string; /** - * Returns the character at the specified index. + * Returns the character at the specified index, or an empty string if the index is out of bounds. * @param pos The zero-based index of the desired character. */ charAt(pos: number): string;