Checking for null and undefined
Learn about checking for results that are “null” and “undefined” or not “null” or not “undefined."
We'll cover the following
Checking for null
The project for this lesson contains two functions, getPerson
and getCompany
, that are being tested. A copy of the project’s code is in the code widget below:
Get hands-on with 1400+ tech skills courses.