Primitives and objects are two fundamental concepts in JavaScript. Primitives are simple data types, such as numbers, strings, and booleans. Objects are more complex data types that can store properties and methods.
In JavaScript, you have probably heard someone say that "everything in JS is an object". In this video, we walk through what this means and uncover some of the behind-the-scenes magic that is happening when you use built-in functions in JavaScript.
📃 Video contents
________________________________________________________________
0:00 Intro
1:45 Your string is an object
3:20 What is a "primitive"?
6:20 What is the "new" operator in JavaScript?
Github repo - https://github.com/zachgoll/fullstack-roadmap-series