Forbrukslån Beste | Hiiri | Kredittkort Reiseforsikring | Strømpriser | Brannalarm Pris | Forsikringsselskap | Billig Mobilabonnement | Takst på Hus
JavaScript programming

Javascript data type tutorial

That type of data is an important issue for any of the programming languages, JavaScript is no exception. JavaScript is a programming language such as JavaScript in a variety of mathematical and logical statements is done through execution. Mathematical and logical statements of these different types of data to work with. JavaScript data type services is at an early stage is divided into two parts. 1. Primitive data types (Primitive data types) amputation data type (Composite data types).

Primitive data type:

Such data is usually a single value, such as 5.6 or a character string, or logical data is true or false.

1.Numeric

2.string

3.Null

4.undefined

Composite data type:

Composite data type is a complex data type. Composite data type is other object (object), Array array, the function (function). And the properties of objects, methods, standards, and Crete periodic statements that contain a variety of functions.

Practice Project:

<html>
<head>
<title> www.trickbd.com.bd</title>
<style>
body{background: #FFC;
font-size:24px;}
</style>

</head>
<body>
<script type = “text/javascript”>
var a=55;
var b=-99;
var c=077;
var d=0x5C;
var e=567.88;
var f=-256.33;
var g=2.5e3;
var h=1.5e-3;
document.write(a);
document.write(“<br >”);
document.write(b);
document.write(“<br >”);
document.write(c);
document.write(“<br >”);
document.write(d);
document.write(“<br >”);
document.write(e);
document.write(“<br >”);
document.write(f);
document.write(“<br >”);
document.write(g);
document.write(“<br >”);
document.write(h);
document.write(“<br >”);
document.write(“Welcome”);
</script>
</body>

</html>

Notepad: to open a file type from the menu at the top of layer code by clicking on the Save as File name: index.html, Save as type: All files, save and open the index.html file with the Mozilla Firefox look like the image shown below.

55
-99
63
92
567.88
-256.33
2500
0.0015
Welcome

Comments

comments

About the author

Toriqul Islam Tusher

বলার মত কিছু নাই!

Leave a Comment