soniajain
Newbie
- Joined
- May 15, 2023
- Messages
- 3
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1
- Location
- United States
- Activity points
- 34
For what reason null considered an object in JavaScript?
the same as
Additionally, could somebody at any point put a portion of their perspectives on the contrast among null and undefined?
Code:
if ( object == null )
Do something
the same as
Code:
if ( !object )
Do something
Additionally, could somebody at any point put a portion of their perspectives on the contrast among null and undefined?