DEV Community

Avinashd
Avinashd

Posted on

Js in bits - 5.3(datatypes - String)

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.

Image description

${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)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay