1. What is a JavaScript String?
- JavaScript strings are for storing and manipulating text.
-A JavaScript string is zero or more characters written inside quotes.
➡️Example:-
2. JavaScript Methods and Properties.
2.1. String length
To find the length of a string, use the built-in length property:
JavaScript Arrays🤩, Mega thread🚀.
All of the content includes examples so that any aspiring Web developer can quickly grasp the concepts.
1. What is a JavaScript Arrays.
An array in JavaScript is a variable that can hold several values.
Example:
2. What's the Point of Using an Array?
If you have a list of items (say, a list of car names), storing the cars in single variables might look like this:
Example: