Question: what is the difference between null and empty in javascript?
Answer: Null is the value of reference variable. But empty string is blank.It gives the length=0 . Empty string is a blank value,means the string does not have any thing. No method can be invoked on a object which is assigned a NULL value.