How to conditionally build an object in JavaScript with ES63.6K19Knut MelværJustin CoulstonFollowSep 4, 2018 · 1 min readVery cool tip! I’ll be trying this shortly!