Microsoft/TypeScript

`Array.prototype.at` docs use "code unit" instead of "item"

Open

#63,722 opened on Aug 5, 2026

 (2 comments) (1 reaction) (0 assignees)TypeScript (13,395 forks)batch import
Domain: lib.d.tsHelp Wanted

Repository metrics

Stars
 (108,860 stars)
PR merge metrics
 (Avg merge 6d 17h) (9 merged PRs in 30d)

Description

Acknowledgement

  • I acknowledge that issues using this template may be closed without further explanation at the maintainer's discretion.

Comment

The @param tag here in the docs for Array.prototype.at uses the term "code unit" instead of the more appropriate term "item" or "element". It was presumably copied from the docs for String.prototype.at here. I'd make a PR but there was an explicit recommendation not to do that for typos.

Contributor guide