Open In App

What is the use of Single Quotes (”) & Double Quotes (“”) for Strings in JavaScript ?

In JavaScript, both single quotes ('') and double quotes ("") can be used to create strings, and they are interchangeable in most situations. However, there are a couple of differences worth noting:

Article Tags :