Microsoft/TypeScript

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

开放

#63,722 创建于 2026年8月5日

 (2 条评论) (1 个反应) (0 位负责人)TypeScript (13,395 个派生)batch import
Domain: lib.d.tsHelp Wanted

仓库指标

星标
 (108,860 个星标)
PR 合并指标
 (平均合并 6天 17小时) (30 天内合并 9 个 PR)

描述

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.

贡献者指南