How do I determine if variable is undefined or null?
undefined
null
My code is as follows:
var EmpN
if (variable == null) { // Do stuff, will only match null or undefined, this won't match false }