//demo code for typeof operator
var a=10;
var b="dipika";

var result = ( typeof a == "string" ? "A is string" : " A is numeric");
document.write("Result =>");
document.write(result);
document.write("<br>");
var result = ( typeof b == "string" ? "B is string" : " B is numeric");
document.write("Result =>");
document.write(result);
//demo code for typeof operator (hello)
var a=10;
var b="dipika";

var result = ( typeof a == "string" ? "A is string" : " A is numeric");
document.write("Result =>");
document.write(result);
document.write("<br>");
var result = ( typeof b == "string" ? "B is string" : " B is numeric");
document.write("Result =>");
document.write(result);

Update typeof.js