Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Update Readme.md#56

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
KhushalGupta305 wants to merge1 commit intoganqqwerty:master
base:master
Choose a base branch
Loading
fromKhushalGupta305:patch-1

Conversation

KhushalGupta305
Copy link

Added new javascript question .

Added new javascript question .
Copy link
Owner

@ganqqwertyganqqwerty left a comment

Choose a reason for hiding this comment

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

Can you add a bit of explanation?

@KhushalGupta305
Copy link
Author

Explanation:-

In the outer function, both this and self refer to myObject and therefore both can properly reference and access foo.

In the inner function, though, this no longer refers to myObject. As a result, this.foo is undefined in the inner function, whereas the reference to the local variable self remains in scope and is accessible there.

@ganqqwerty
Copy link
Owner

Thanks for the idea. I think the book deserves the whole chapter about managingthis. I will work out 7-10 questions about it, so that everyone can go from one to another gradually.

@KhushalGupta305
Copy link
Author

Sure thing. Can I also add some more good questions to this Repo ?

Lastly, Can you please merge this PR ?

Thanks.

@ganqqwerty
Copy link
Owner

No, this one is not yet good enough to be merged, I will need to change it a bit.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@ganqqwertyganqqwertyganqqwerty approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@KhushalGupta305@ganqqwerty

[8]ページ先頭

©2009-2025 Movatter.jp