Showing posts with label boolean. Show all posts
Showing posts with label boolean. Show all posts

Javascript Variable Data Type


Javascript Variable Data Type

In JavaScript, we do not need to declare the types of variables we will use, otherwise the language of another programming language (which is more advanced) like C or Java. We have to declare in detail whether the variable used is an integer (int), decimal (float), character (char), and other ...

Actually in JavaScript itself, we can only manipulate 4 types of data are:

JavaScript Boolean Object


JavaScript Boolean Object
Boolean object is a standard object of the JavaScript that allows us to manipulate the value of boolean type. Here is the syntax used to create booelan objects:
var x = new Boolean (parameters)