Method of primitive
Let’s start with a piece of code: const name = "aniket"; name.toUpperCase(); // ANIKET The name is a primitive but we are able to access a method on it as if it were some sort of object. But we know that primitive isn’t an object.What is the story h...
Jul 12, 20222 min read81
