The OR operator || uses the right value if left is falsy (e.g. "" or 0 or false), while the nullish coalescing operator ?? uses the right value if left is null or undefined.