1 | initial version |
This error message means that the code is attempting to use the method slice()
on a variable called exercises
, but exercises
is not of a type that has a slice()
method. It is likely that exercises
is not an array or a string, which are the types that have a slice()
method.