Learning js should be fun. It's fun if it's easy.
I tried my best in writing this, to understand it the easy way.
datatype
String
There is no char datatype in js like other languages. A single char is also stored in String datatype.
${str1} works as getting a value out of a variable, because of `(backtick) also called as template literal.
Leave y'r thoughts....
Top comments (0)