Primitive type Vs Reference type

Publié le: 04 mai 2020
sur la chaîne: Ahmed Abdelfatah
116
8

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/


Sur cette page du site, vous pouvez voir la vidéo en ligne Primitive type Vs Reference type durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Ahmed Abdelfatah 04 mai 2020, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 116 fois et il a aimé 8 téléspectateurs. Bon visionnage!