var myVar; _.isUndefined(myVar); // true
var myObj = { name: 'John', age: 32 }; _.isUndefined(myObj.address); // true
function myFunc(param1, param2) { _.isUndefined(param2); // true if parameter is not passed }This function belongs to the underscore.js library.