Pranita Patilpranitapatil.hashnode.dev·Oct 3, 2022Why Primitive and Non-primitive datatypes in JavaScript works differently when we try to copy data from one variable to another?In JavaScript, Primitive data types are - string, number, boolean, undefined, null, symbol and non-primitive data types are - arrays and objects which are also known as Reference data types. Let's see how it gets stored - There are basically two typ...1 likePrimitive datatypesAdd a thoughtful commentNo comments yetBe the first to start the conversation.