Skip to content
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

Fixed a typo that causes reference error #37216

Merged
merged 1 commit into from
Dec 15, 2024
Merged

Conversation

Aleksandar15
Copy link
Contributor

Description

I fixed a typo where the recursive function loop2 is calling loop instead of itself (loop2) thus causing reference error: "loop is not defined".

Motivation

I copy pasted just the loop2 function and got a reference error upon calling it (loop2(5)).

Additional details

Related issues and pull requests

@Aleksandar15 Aleksandar15 requested a review from a team as a code owner December 15, 2024 01:57
@Aleksandar15 Aleksandar15 requested review from chrisdavidmills and removed request for a team December 15, 2024 01:57
@github-actions github-actions bot added Content:Glossary Glossary entries size/xs [PR only] 0-5 LoC changed labels Dec 15, 2024
@Josh-Cena Josh-Cena merged commit c7e6e6a into mdn:main Dec 15, 2024
7 checks passed
Copy link
Contributor

Preview URLs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Content:Glossary Glossary entries size/xs [PR only] 0-5 LoC changed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants