A String in JavaScript is a sequence of characters used to store text.
let course = "JavaScript";
1. String length
Purpose
Returns the total number of characters in a string.
Syntax
string.length
Example
let company = "OpenAI";
console.log(company.length);
...
🛡️ VERIFIED CYBER INTELLIGENCE ID: #3598079