nested.js 138 B

1234
  1. let icecream = what == "cone"
  2. ? p => !!p ? `here's your ${p} cone` : `just the empty cone for you`
  3. : p => `here's your ${p} ${what}`;