I don't think it's necessarily helpful to mix computer science concepts into a list of things to know about a language. Yes, they're good to know, but unless they're significantly different in Javascript, split them out into a separate list.
Also, it seems weird to give so much emphasis to things like hoisting or numeric notation and nothing to stuff like promises, Set/Map or debugging.
I agree, I think that I'm gonna include Promises and Set/Map soon. If you think about more concepts that are relevant nowadays, feel free to contribute.
Maps are lists defined by key-value tuples in which you can easily associate a key with a value. In a very rough way, you could say that an array works as a Map where every key is a number; in practice you want to use Maps to represent direct relationships between a key of any type and a value of any type(possibly different typings).
While these are the general definitions, their properties(a set having at most one element of a kind, and a Map having at most one key of a kind) means you can optimize them for easier access through hashing algorithms and whatnot. If you want to know the details, I recommend looking into Data Structures and Hash Maps or Hash Sets. What you need to know is that it's fast to know if a given element exists in a Set, and that it's fast to access a value if a given key is present on a Map.
10
u/rcfox Oct 15 '18
I don't think it's necessarily helpful to mix computer science concepts into a list of things to know about a language. Yes, they're good to know, but unless they're significantly different in Javascript, split them out into a separate list.
Also, it seems weird to give so much emphasis to things like hoisting or numeric notation and nothing to stuff like promises, Set/Map or debugging.
This is a nice collection of links though.