BigBinary Academy
JavaScript
Exercises Set 10
54.2
Search
Assessment
54.2
AI commands
Create a function
getTaskFromCommand
which accepts 2 parameters,
command
and
keyword
.
Return the task in
command
string which follows the
keyword
.
The keyword will be present only ONCE in the command string.
For example:
Previous
Next