Comparison operators of javascript.
// var x ="hellow word";string
// var x =25; Number
// var x = true; Boolean
// var x = ["HTML", "CSS", "JS"]; Array
// var x ={first:"faisal", last:"Shah"} ; Object
// var x = null; Null
// var x; undefined
var x=30;
var x="shah faisal";
x= ["HTML","CSS","JS",];
document.write(x);
document.write("
"); document.write(typeof x); // Friends in this lession we will describe about data types of javascripts such as string, array, numbers, object, null, undefined, and boolean etc.
"); document.write(typeof x); // Friends in this lession we will describe about data types of javascripts such as string, array, numbers, object, null, undefined, and boolean etc.
Comments
Post a Comment