Microsoft/TypeScript

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

Aperta

#63.722 aperta il 5 ago 2026

 (2 commenti) (1 reazione) (0 assegnatari)TypeScript (13.395 fork)batch import
Domain: lib.d.tsHelp Wanted

Metriche repository

Star
 (108.860 stelle)
Metriche merge PR
 (Merge medio 6g 17h) (9 PR mergiate in 30 g)

Descrizione

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.

Guida contributor