4 lines
138 B
JavaScript
4 lines
138 B
JavaScript
let icecream = what == "cone"
|
|
? p => !!p ? `here's your ${p} cone` : `just the empty cone for you`
|
|
: p => `here's your ${p} ${what}`;
|