Proper error handling (mostly writing code that doesn't fire errors).
Being unable to fully understand or explain the 2 pillars of Javascript: Functional programming & Object Oriented Programming.
How important it is to refer to the bloody documentation before hopping on stackoverflow.
That not all tutorials, all books and all individuals relay accurate and most up-to-date information.
bind(), call() and apply()
High-order array functions like map() and specially reduce(). (It's very rare to see beginners use reduce() at all).
The this keyword and I don't really know why but some beginners tend to find it difficult why you call super() inside the constructor of a child class.
The Shadow DOM, it's not something you'd expect someone to know but it's ideal to learn about it after learning about the DOM and DOM manipulation.
Promises, the for/of loop, async/await , callbacks etc. etc. or writing asynchronous code, and handling/catching errors properly.
Destructuring and Spreading.
Garbage Collection.
Closures.
That stackoverflow is the solution to all your problems.
I think that's a pretty constructive list of the common and more difficult things that beginners don't really know or can't understand. Some of them don't have to do anything with JS but hey!
45
u/Mydrax May 28 '19 edited May 28 '19
The importance of using the Chrome DevTools.
Why Linters make your life easier.
Proper error handling (mostly writing code that doesn't fire errors).
Being unable to fully understand or explain the 2 pillars of Javascript: Functional programming & Object Oriented Programming.
How important it is to refer to the bloody documentation before hopping on stackoverflow.
That not all tutorials, all books and all individuals relay accurate and most up-to-date information.
bind(), call() and apply()
High-order array functions like map() and specially reduce(). (It's very rare to see beginners use reduce() at all).
The this keyword and I don't really know why but some beginners tend to find it difficult why you call super() inside the constructor of a child class.
The Shadow DOM, it's not something you'd expect someone to know but it's ideal to learn about it after learning about the DOM and DOM manipulation.
Promises, the for/of loop, async/await , callbacks etc. etc. or writing asynchronous code, and handling/catching errors properly.
Destructuring and Spreading.
Garbage Collection.
Closures.
That stackoverflow is the solution to all your problems.
I think that's a pretty constructive list of the common and more difficult things that beginners don't really know or can't understand. Some of them don't have to do anything with JS but hey!