Expected output is wrong
MikelShael opened this issue · 2 comments
MikelShael commented
MDN URL
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/indexOf
What specific section or headline is this issue about?
Try it
What information was incorrect, unhelpful, or incomplete?
// Expected output: "The index of the first "dog" is 7"
// Expected output: "The index of the second "dog" is 41"
What did you expect to see?
// Expected output: "The index of the first "dog" is 15"
// Expected output: "The index of the second "dog" is 38"
Do you have any supporting links, references, or citations?
No response
Do you have anything more you want to share?
No response
MDN metadata
Page report details
- Folder:
en-us/web/javascript/reference/global_objects/string/indexof
- MDN URL: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/indexOf
- GitHub URL: https://github.com/mdn/content/blob/main/files/en-us/web/javascript/reference/global_objects/string/indexof/index.md
- Last commit: mdn/content@c607c48
- Document last modified: 2023-11-03T16:38:30.000Z
hamishwillee commented
Thank you. This will be fixed by #2653
github-actions commented
It looks like this is your first issue. Welcome! 👋 One of the project maintainers will be with you as soon as possible. We appreciate your patience. To safeguard the health of the project, please take a moment to read our code of conduct.