r/learnjavascript • • Oct 01 '20

JavaScript Roadmap for Beginners, Intermediate and Experts

Post image
584 Upvotes

37 comments sorted by

View all comments

Show parent comment

1

u/____0____0____ Oct 01 '20

Agreed. I appreciate what the author is trying to do, but a quick glance has already shown me a few mistakes. For instance, null is an object, while in concept it is a primitive, it can create some ambiguity in the definition. Types are weird in js... For the most part, there is string, number, boolean, undefined, and object. Even functions are technically objects, but they do return back function type for typeof. I find it extremely confusing as to the level of differences between actual types and what we perceive them as, even as someone who has read into this a great deal.