const result = -1 ? 'foo' ? null : -1 : 1;
console.log(result);
.
.
.
.
.
.
.
.
.
.
.
Output: null
Thanks for reading 💙
Follow @codedrops.tech for daily posts.
Instagram ● Facebook
Micro-Learning ● Web Development ● Javascript ● MERN stack
codedrops.tech
Top comments (0)