mdn/translated-content
View on GitHub[ja] Array.prototype.indexOf() の返値が false になっている箇所を -1 に修正する提案
Open
#29,703 opened on Oct 8, 2025
good first issuel10n-ja
Repository metrics
- Stars
- (1,994 stars)
- PR merge metrics
- (PR metrics pending)
Description
MDN URL
https://developer.mozilla.org/ja/docs/Web/JavaScript/Reference/Global_Objects/Array/indexOf
この問題に関する節や見出しはどこですか。
不完全、不親切、不完全であった情報は何ですか。
fromIndex >= array.lengthの場合、配列の検索は行われず、falseが返されます。
どう表示されるべきだと思いますか。
fromIndex >= array.lengthの場合、配列の検索は行われず、-1が返されます。
補足情報となるリンク、参考資料、引用文献はありますか。
No response
他に共有したいことはありますか。
No response
MDN metadata
- Folder:
ja/web/javascript/reference/global_objects/array/indexof - MDN URL: https://developer.mozilla.org/ja/docs/Web/JavaScript/Reference/Global_Objects/Array/indexOf
- GitHub URL: https://github.com/mdn/translated-content/blob/main/files/ja/web/javascript/reference/global_objects/array/indexof/index.md
- Last commit: https://github.com/mdn/translated-content/commit/5411c3fb3034671599933ba2c8322957764ee562
- Document last modified: 2025-08-09T02:49:43.000Z