3.datatypes
by John Kiran
HTML
<html>
<head>
</head>
<body>
</body>
</html>
JavaScript
"use strict";
//it shows infinity alert
alert(1/0);
//it shows nan alert
alert("not a number"/0);
//boolean
let isGreater=4>1;
alert("boolean: "+isGreater);
//null
let age=null;
alert(age);
//task in javascript.info
let name="kiran";
alert(`hello ${1}`);
alert(`hello ${"name"}`);
alert(`hello ${name}`);
//typeof
alert(typeof name);
alert(typeof 0);
alert(typeof "test");
alert(typeof alert);