Javascript Undefined Demo
by veer712
JavaScript
var params = {test:'test'};
var intlValue = params.intlValue;
if(intlValue === undefined){
document.write("intlValue is undefined!");
console.log("intlValue is undefined!");
}else{
document.write("intlValue is not undefined!");
console.log("intlValue is not undefined!");
}
document.write("<br>");
document.write(typeof "undefined");
document.write(typeof undefined);
console.log(typeof "undefined");
console.log(typeof undefined);