JavaScript

May 18, 2023

How to use String Operators JavaScript Language

Program to use String Operator JavaScript Language


let a = "JavaScript Program";
console.log(a);

Output


JavaScript Program

Steps Description

  1. Declare variable a
  2. Initialize variable with value of "JavaScript Program" a = "JavaScript Program"
  3. Strig Operaters This is a sequence of letters Strings are written inside single or double quotes.
  4. The value of a variable is displayed with the help of console.log inbuilt function

by : Suhel Akhtar

Quick Summary:

String Operator JavaScript Language Example