Skip to content

fix: typo arr -> fruits #3145

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 14, 2022
Merged

fix: typo arr -> fruits #3145

merged 1 commit into from
Aug 14, 2022

Conversation

leviding
Copy link
Member

@leviding leviding commented Aug 13, 2022

- alert( arr.indexOf('Apple') ); // 0 (first Apple)
- alert( arr.lastIndexOf('Apple') ); // 2 (last Apple)
+ alert( fruits.indexOf('Apple') ); // 0 (first Apple)
+ alert( fruits.lastIndexOf('Apple') ); // 2 (last Apple)

@iliakan iliakan merged commit 6a18f47 into javascript-tutorial:master Aug 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants