Stop Nesting Ternaries in JavaScript | Dark Hacker News