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

Fix: separate assignment and condition check in index.js #6173

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

sazk07
Copy link

@sazk07 sazk07 commented Nov 12, 2024

Fix typo in condition check

Fix typo in condition check
examples/params/index.js Outdated Show resolved Hide resolved
assignment was being done inside condition check leading to confusion in reading code.
@sazk07
Copy link
Author

sazk07 commented Nov 12, 2024

assignment inside condition check leading to confusion in reading code. Change proposed.

@sazk07 sazk07 changed the title Fix typo: Update index.js Fix: separate assignment and condition check in Update index.js Nov 12, 2024
@sazk07 sazk07 changed the title Fix: separate assignment and condition check in Update index.js Fix: separate assignment and condition check in index.js Nov 12, 2024
Copy link
Author

@sazk07 sazk07 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated

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.

4 participants