null is a language keyword that evaluates to a special value that is usually used to indicate the absence of a value. Using the typeof operator on null returns the string "object", indicating that null can be thought of as a special object value that indicates "no object". In practice, however, null is typically regarded as the sole member of its own type, and it can be used to indicate "no value" for numbers and strings as well as objects.
Despite these differences, null and undefined both indicate an absence of value and can often used interchangeably. The equality operator == considers them to be equal. (Use the strict equality operator === to distinguish them.)
両者とも false に変換される値です。
You might consider undefined to represent a system-level, unexpected, or error-like absence of value and null to represent program-level, normal, or expected absence of value. If you need to assign one of these values to a variable or property or pass one of these values to a function, null is almost always the right choice.