Pinned Loading
-
ECMASCRIPT
ECMASCRIPT 1const user = { age: null };
2// if (!user.age) user.age = "unknown";
3user.age ??= "unknown";
45console.log(JSON.stringify(user));
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.