Question:What is the difference between undefined value and null value? 

Answer An undefined value is returned when we attempt to use a variable that has not been defined or that is declared but that we forgot to provide with a value. On the otherhand, null value is returned when we declare and define a variable as null if we want absolutely nothing in it but we don't want it to be undefined. 

+ Report
Total Preview: 950
What is the difference between undefined value and null value?
Copyright © 2024. Powered by Intellect Software Ltd