Skip to content
engineering workbench.by StudyPort Academy
All glossary terms

GLOSSARY · A WORD, UNPACKED

nullish

a value that is either null or undefined.

A little more detail

Nullish coalescing (??) supplies a fallback only for these two values. Optional chaining (?.) stops a property access or call when its left value is nullish. Zero, false, and an empty string are not nullish, even though they are falsy.

See it in practice

These lessons pair the idea with examples you can change and run.