Microsoft/TypeScript

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

Aberta

#63.722 aberto em 5 de ago. de 2026

 (2 comentários) (1 reação) (0 responsável)TypeScript (13.395 forks)batch import
Domain: lib.d.tsHelp Wanted

Métricas do repositório

Stars
 (108.860 estrelas)
Métricas de merge de PR
 (Mesclagem média 6d 17h) (9 fundiu PRs em 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.

Guia do colaborador