Primitive Object |
Primitive values, like strings and numbers, cannot have properties or methods (because they are not objects).
But with JavaScript, methods and properties are also available to primitive values, because JavaScript treats primitive values as objects when executing methods and properties. - w3schools.com JavaScript TutorialWell, I'm glad we cleared that up. Morons.
No comments:
Post a Comment