Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Using ‘switch’ to match arbitrary logic instead of string or number literals. Parent comment
return (twitterUrl && config.twitter) || (githubUrl && config.github) || default
return twitterUrl ? config.twitter : githubUrl ? config.github : default