if(typeof hello! = 'undefined'){
}
This is too hard to type, would like to use underscore
if(typeof hello! = 'undefined'){
}
This is too hard to type, would like to use underscore
According to the official documentation, you can use _.isUndefined()
:
_.isUndefined(window.missingVariable);
=> true
You mean this? http://underscorejs.org/#isUndefined
_.isUndefined(value)