Advertisements
Advertisements
प्रश्न
Write the role of variable in JavaScript.
टीपा लिहा
उत्तर
- Variable is a memory location where value can be stored. A Variable is a symbolic name for a value. Variables are declared with the var keyword in JavaScript. Every variable has a name, called an identifier.
- Every variable has a data type that indicates what kind of data the variable holds. The basic data types in JavaScript are Strings, Numbers, and Booleans.
shaalaa.com
JavaScript Variables
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?