Help Me/Question What Is The Different Data Type Supported By Javascript?

steve taylor

White Belt
I know about some data type of used in JavaScript and some of them are listed below:-
JavaScript String
JavaScript number
JavaScript Boolean
JavaScript Arrays
JavaScript Objects.
The Type of Operator.
Undefined.
Empty values
Null
These are the various variables which is supported by JavaScript . How to use these JavaScript variables in webpages development .
 

RADHESHYAM GUPTA

White Belt
In this term you can use Java script for web development you can also use external sheet for JavaScript like .js file.
For JavaScript String:-
<HTML>
<HEAD>
<TITLE>JavaScript</TITLE>
<SCRIPT>
var Roll = 0540;
var person = "Radhe";
var answer = 'It's not you!';
</SCRIPT>
</HEAD>
</HTML>

For JavaScript arithmetic:-
<HTML>
<HEAD>
<TITLE>JavaScript</TITLE>
<SCRIPT>
var x= 52;
var y = 32;
var z = x + y;
</SCRIPT>
</HEAD>
</HTML>
 

Saravanan28

Yellow Belt
There are six basic data types in JavaScript which can be divided into three main categories: primitive (or primary), composite (or reference), and special data types. String, Number, and Boolean are primitive data types. Object, Array, and Function (which are all types of objects) are composite data types.
 
Top