Ask Your Question

Revision history [back]

click to hide/show revision 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.