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

Code fix #1830

Closed
wants to merge 1 commit into from
Closed

Code fix #1830

wants to merge 1 commit into from

Conversation

DrejT
Copy link

@DrejT DrejT commented Jun 10, 2023

I might be wrong I am just learning js but this gave me a TypeError and didn't print "b"

Yes, I promise I've read the Contributions Guidelines (please feel free to remove this line).

Specifically quoting these guidelines regarding typos:

Typos?

Please don't worry about minor text typos. These will almost certainly be caught during the editing process.

If you're going to submit a PR for typo fixes, please be measured in doing so by collecting several small changes into a single PR (in separate commits). Or, just don't even worry about them for now, because we'll get to them later. I promise.


Please type "I already searched for this issue":

Edition: (pull requests not accepted for previous editions)

Book Title:

Chapter:

Section Title:

Topic:

I might be wrong I am just learning js but this gave me a TypeError and didn't print "b"
@getify
Copy link
Owner

getify commented Jun 11, 2023

If you run the whole code snippet at once, it will definitely give the "b" answer, not a type error.

@getify getify closed this Jun 11, 2023
@DrejT DrejT deleted the patch-1 branch June 11, 2023 10:50
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