-
Notifications
You must be signed in to change notification settings - Fork 286
Executable coding blocks production-readiness - PR 2 #22
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
57 commits
Select commit
Hold shift + click to select a range
3b0f7b6
exec: how-do-you-convert-a-string-to-a-number-in-javascript
tahachm df35cdd
exec: what-are-the-various-data-types-in-javascript
tahachm 8278bc1
exec: explain-the-concept-of-hoisting-with-regards-to-functions
tahachm 66da940
exec: explain-the-difference-in-hoisting-between-var-let-and-const
tahachm 377fded
exec: what-is-the-spread-operator-and-how-is-it-used
tahachm 03d6fcd
exec: how-do-you-check-the-data-type-of-a-variable
tahachm c036438
exec: what-are-the-differences-between-variables-created-using-let-va…
tahachm d6f3b0e
exec: whats-the-difference-between-a-variable-that-is-null-undefined-…
tahachm 15d0f04
exec: what-are-template-literals-and-how-are-they-used
tahachm e3f2fe4
exec: how-can-you-avoid-problems-related-to-hoisting
tahachm c976667
exec: what-is-the-difference-between-double-equal-and-triple-equal
tahachm f9b6c18
exec: what-language-constructs-do-you-use-for-iterating-over-object-p…
tahachm 1a59dbd
exec: what-is-the-purpose-of-the-break-and-continue-statements
tahachm 93fc6c7
exec: what-is-the-ternary-operator-and-how-is-it-used
tahachm 52b9eb3
exec: how-do-you-access-the-index-of-an-element-in-an-array-during-it…
tahachm 3e044c8
exec: what-is-the-purpose-of-the-switch-statement
tahachm 5917f8d
exec: what-are-rest-parameters-and-how-are-they-used
tahachm b3b8e22
exec: explain-the-concept-of-the-spread-operator-and-its-uses
tahachm f0f1c01
[auto] regenerate table of contents
github-actions[bot] be56334
exec: what-are-the-benefits-of-using-spread-syntax-and-how-is-it-diff…
tahachm f61faa7
exec: explain-the-differences-on-the-usage-of-foo-between-function-fo…
tahachm 730aee9
exec: what-is-the-difference-between-a-parameter-and-an-argument
tahachm 7cf0b24
exec: whats-the-difference-between-call-and-apply
tahachm 40c09e4
partial fix: can-you-offer-a-use-case-for-the-new-arrow-function-synt…
tahachm 1b56553
exec: difference-between-function-person-var-person-person-and-var-pe…
tahachm 86aabc6
partial fix: what-is-the-definition-of-a-higher-order-function
tahachm d837bb0
exec: what-is-recursion-and-how-is-it-used-in-javascript
tahachm f8a5f10
exec: what-are-default-parameters-and-how-are-they-used
tahachm 75b98d6
exec: what-are-the-various-ways-to-create-objects-in-javascript
tahachm 9d624e4
exec: explain-the-difference-between-dot-notation-and-bracket-notatio…
tahachm 08881bc
exec: what-are-the-different-methods-for-iterating-over-an-array
tahachm a758de0
exec: how-do-you-add-remove-and-update-elements-in-an-array
tahachm c945e2b
partial fix: what-are-the-different-ways-to-copy-an-object-or-an-array
tahachm a7b0bbc
exec: explain-the-difference-between-shallow-copy-and-deep-copy
tahachm 7e7cfb0
exec: what-are-the-advantages-of-using-the-spread-operator-with-array…
tahachm 5f53908
exec: how-do-you-check-if-an-object-has-a-specific-property
tahachm 4b75530
exec: explain-the-concept-of-destructuring-assignment-for-objects-and…
tahachm 0983882
exec: how-do-you-reliably-determine-whether-an-object-is-empty
tahachm 8a7e7f1
partial fix: explain-the-concept-of-a-callback-function-in-asynchrono…
tahachm b961378
partial fix: what-are-promises-and-how-do-they-work
tahachm 6bc474a
partial fix: what-are-callback-functions-and-how-are-they-used
tahachm 4235698
partial fix: explain-the-difference-between-synchronous-and-asynchron…
tahachm 9c4464c
exec: explain-how-prototypal-inheritance-works
tahachm 3656d64
exec: explain-the-difference-between-classical-inheritance-and-protot…
tahachm 38f2a07
exec: explain-the-concept-of-inheritance-in-es2015-classes
tahachm 7a1b2be
exec: what-is-the-purpose-of-the-new-keyword
tahachm 4b864fa
exec: how-do-you-create-a-constructor-function
tahachm 208848a
exec: what-are-the-differences-between-es6-class-and-es5-function-con…
tahachm ed92473
exec: explain-the-concept-of-lexical-scoping
tahachm ec00257
exec: explain-the-concept-of-scope-in-javascript
tahachm aca5590
exec: how-can-closures-be-used-to-create-private-variables
tahachm 14f54cf
exec: explain-the-difference-between-global-scope-function-scope-and-…
tahachm 0596b5c
partial fix: what-advantage-is-there-for-using-the-arrow-syntax-for-a…
tahachm 9925c12
[auto] regenerate table of contents
github-actions[bot] f0a6605
Merge branch 'main' into taha/executable-coding-blocks-2
yangshun b5fcd8c
Update en-US.mdx
yangshun 3fcfe79
[auto] regenerate table of contents
github-actions[bot] File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
for
console.log(arguments)
, the lexical scope of ourrunCode
functions is being inherited, and thus the TypeError is not being thrown. Rather, we just get an empty object{}
which are the empty arguments of ourrunCode
function simply. Therefore, have left this codeblock unexecutable. Any ideas? I tried using globalThis but that would mess with other examples thenThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we can leave it