en.javascript.info
en.javascript.info copied to clipboard
Modern JavaScript Tutorial
Fixes #3356
In the syntax for array splice method, the square bracket should not be present.
Shouldn't "a" be assigned the value of the later operation(3+4) rather than (1+2).
I encountered an error when learning about DOM navigation, in the [Walking the DOM](https://javascript.info/dom-navigation), under the [Siblings and the parent](https://javascript.info/dom-navigation#siblings-and-the-parent) using `nextSibling` and `previousSibling`. These properties return the next and...
typeof alert isnot a function, but undefined
The code uses the function named 'askPassword' but the text above it explaining the error reason says 'ask' instead of 'askPassword'
…ons. The this argument on functions is a very nuanced but often mistreated topic. More clarification and documentation is needed to avoid bugs.
I was reading the article on Data Types, Array Methods when I saw the example code for thisArg. The example code below:  The explanation why the code would...
There's a bug in the solution posted in this task. The task requires us to group objects by id and put the grouped objects in an array keyed by id....