Why Javascript Strings has Properties and Methods, as Strings are Primitive Values
I am a beginner JS developer. In my class I was taught that Javascript Strings are Primitives. But also I learned there are String Properties and Methods. How is it possible?