- Understand the states of a promise and the methods that can force the promise function to reach those states or other ways for the promise to reach those states.
- Debugging in browsers.
- Make sure you understand the event loop, microtasks and macrotasks:
- Go over the scope of variables and the difference between "let" and "var". Also, make sure you understand their scope within different types of functions.
- Check out the private variable syntax.
- Go over the syntax of arrow function.
- Review Currying function and the difference between f(a, b, c) and f(a)(b)(c).
- Make sure you understand how different CSS selectors work (they can be passed as parameters to different functions, like querySelectorAll)
- Make sure you understand how each array method works. Some of them are quite common and easy to understand but I found a few like reduce() and some(). Look into the smaller details of how push() works, how concat() works, unshift(), what each does on the original array and what they return.
- Review the object methods and what they do
- Go over seal(), freeze() and preventExtensions(). Really important to understand the differences, what will each let you do or won’t let you do.
- Review how to work with objects and their properties:
- Review template literals.
Check how destructing assignment works.
Go over how to send and receive data using Node.js and how to connect to MySQL database.
Go over the websocket methods and events.
Review Node.js version dependencies using ~ and ^.
Review the History interface, the pushState() method and the popstate event.
Review the call(), apply() and bind() functions.
Go over the XMLHttpRequest class, how to use it and its methods.
Make sure you understand what WeakMap does.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Today's post is by one of our CTO, Or Weissler.
As always, thanks for reading, if you enjoyed this post please feel free to share it and tag us @Pexlify.