Different between null undefined in javascript

1 Replies, 541 Views

Different between null undefined in javascript.give 40+ points
Null and undefined are two distinct types in JavaScript.

Null is an assignment value that means "no value". It is a special keyword that indicates that there is no value.

Undefined is a type of value that indicates that a variable has not been assigned a value. It is a special keyword that indicates that a variable has not been assigned a value yet.

Null is an object, while undefined is a primitive type.

Null is an assignment value that means "no value". It is a special keyword that indicates that there is no value.

Undefined is a type of value that indicates that a variable has not been assigned a value. It is a special keyword that indicates that a variable has not been assigned a value yet.

Null is an object, while undefined is a primitive type. Null is an object that has no value, while undefined is a primitive type that indicates that a variable has not been assigned a value.

Null is an assignment value that means "no value". It is a special keyword that indicates that there is no value.

Undefined is a type of value that indicates that a variable has not been assigned a value. It is a special keyword that indicates that a variable has not been assigned a value yet.

Null is an object, while undefined is a primitive type. Null is an object that has no value, while undefined is a primitive type that indicates that a variable has not been assigned a value.

Null is an assignment value that means "no value". It is a special keyword that indicates that there is no value.

Undefined is a type of value that indicates that a variable has not been assigned a value. It is a special keyword that indicates that a variable has not been assigned a value yet.

Null is an object, while undefined is a primitive type. Null is an object that has no value, while undefined is a primitive type that indicates that a variable has not been assigned a value. Null is also used to indicate that a variable has been declared but not yet assigned a value.

Null is an object that has no value, while undefined is a primitive type that indicates that a variable has not been assigned a value. Null is also used to indicate that a variable has been declared but not yet assigned a value.

Null is an object that has no value
(This post was last modified: 11-04-2023, 05:26 PM by mohan.)



Users browsing this thread: 1 Guest(s)