How do I determine if variable is undefined or null?
undefined
null
My code is as follows:
var EmpN
You can check if the value is undefined or null by simply using typeof:
if(typeof value == 'undefined'){