Primitive Data Types

Описание к видео Primitive Data Types

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...

Комментарии

Информация по комментариям в разработке