JSFiddle - React, Tailwind, and code Playground

by bnson

HTML

<html>
<head>
<title>VNLIVES.NET</title>
</head>
<body>
<h1>JavaScript : typeof example</h1>
 
<script type="text/javascript">
 var num1 = 100;
 
 if(typeof num1 == 'number'){
	document.write(num1 + " is a number <br/>");
 }else{
	document.write(num1 + " is not a number <br/>");
 }

 var num2 = 'VNLIVES.NET';
 
 if(typeof num2 == 'number'){
	document.write(num2 + " is a number <br/>");
 }else{
	document.write(num2 + " is not a number <br/>");
 }
</script>
 
</body>
</html>
</html>