In JavaScript, all variables either hold one of six primitive types OR an object. Everything that is not one of the primitives is an Object.
If you call the typeof command on any primitive you will be told what kind of wrapper it would get.
The six types of Primitives are: boolean, number, string, null, undefined, and symbol. Symbol was added in ES6.
REMEMBER: Primitives are just immutable values in memory.
Objects are values in memory that can be reference by an identifier
There are a few extra lines of code and notes in the Code GIST below.
Code GIST: https://gist.github.com/prof3ssorSt3v...
Nesta página do site você pode assistir ao vídeo on-line Primitive Data Types duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Steve Griffith - Prof3ssorSt3v3 16 Abril 2018, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 2,562 vezes e gostou 74 espectadores. Boa visualização!