You can use this assignment in your class!
Mastery Progress(100.0%)
i

preworkAssessment.js Review Assignment

You answeredJUST NOW
JavaScript
You passed all test cases!
STDIN
rocky road
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
Expected STDOUT
[
'vanilla',
'chocolate',
'strawberry',
'butter pecan',
'chocolate chocolate chip'
]
Your STDOUT
[
'vanilla',
'chocolate',
'strawberry',
'butter pecan',
'chocolate chocolate chip'
]
STDIN
pistachio
neapolitan
Expected STDOUT
[ 'vanilla', 'chocolate', 'strawberry', 'pistachio', 'neapolitan' ]
Your STDOUT
[ 'vanilla', 'chocolate', 'strawberry', 'pistachio', 'neapolitan' ]

Did you like this question?

(Voting helps us personalize your learning experience!)
imgInstructor solution
Alec KretchJUL. 2, 2021 AT 10:55 AMstarTop Answer
JavaScript

Was this helpful?

(Voting helps us personalize your learning experience!)
Think you've got it?
  • A.
  • B.

Was this helpful?

(Voting helps us personalize your learning experience!)

You may exit out of this review and return later without penalty.