You answeredJUST NOW
JavaScript
STDIN
rocky road
cookie dough
cookie dough
Expected STDOUT
[ 'vanilla', 'chocolate', 'strawberry', 'rocky road', 'cookie dough' ]
Your STDOUT
[ 'vanilla', 'chocolate', 'strawberry', 'rocky road', 'cookie dough' ]
STDIN
butter pecan
chocolate chocolate chip
chocolate chocolate chip
Expected STDOUT
[
'vanilla',
'chocolate',
'strawberry',
'butter pecan',
'chocolate chocolate chip'
]
'vanilla',
'chocolate',
'strawberry',
'butter pecan',
'chocolate chocolate chip'
]
Your STDOUT
[
'vanilla',
'chocolate',
'strawberry',
'butter pecan',
'chocolate chocolate chip'
]
'vanilla',
'chocolate',
'strawberry',
'butter pecan',
'chocolate chocolate chip'
]
STDIN
pistachio
neapolitan
neapolitan
Expected STDOUT
[ 'vanilla', 'chocolate', 'strawberry', 'pistachio', 'neapolitan' ]
Your STDOUT
[ 'vanilla', 'chocolate', 'strawberry', 'pistachio', 'neapolitan' ]
Instructor solution
You may exit out of this review and return later without penalty.