Skip to content

Fix functions-challenges.md#51

Closed
sporeg wants to merge 1 commit intosadanandpai:mainfrom
sporeg:main
Closed

Fix functions-challenges.md#51
sporeg wants to merge 1 commit intosadanandpai:mainfrom
sporeg:main

Conversation

@sporeg
Copy link
Copy Markdown
Contributor

@sporeg sporeg commented Sep 15, 2022

No description provided.

@sadanandpai
Copy link
Copy Markdown
Owner

this takes the higher priority than context
if this is not present while calling the function, context is used

@sporeg
Copy link
Copy Markdown
Contributor Author

sporeg commented Sep 16, 2022

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Strict_mode#securing_javascript

... Thus for a strict mode function, the specified this is not boxed into an object, and if unspecified, this will be undefined

@sporeg sporeg closed this Sep 16, 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