Microsoft/TypeScript

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

Ouverte

#63 722 ouverte le 5 août 2026

 (2 commentaires) (1 réaction) (0 personne assignée)TypeScript (13 395 forks)batch import
Domain: lib.d.tsHelp Wanted

Métriques du dépôt

Stars
 (108 860 étoiles)
Métriques de merge PR
 (Merge moyen 6j 17h) (9 PRs mergées en 30 j)

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.

Guide contributeur