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)