In JavaScript variables store values and the compiler is able to identify from the values which is a primitive type and reference one. There are many differences between both types.
Primitive: undefined, null, number, string, the symbol has a fixed size and stored on stack also accessed by value
Reference: Like object and array has a dynamic type and stored on the heap and accessed by its reference in memory.
For more learning materials and interesting software topics https://tech-hour.com/
En esta página del sitio puede ver el video en línea Primitive type Vs Reference type de Duración hora minuto segunda en buena calidad , que subió el usuario Ahmed Abdelfatah 04 mayo 2020, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 116 veces y le gustó 8 a los espectadores. Disfruta viendo!