Ask Your Question
1

What does the TypeError "exercises.slice is not a function" mean?

asked 2022-03-27 11:00:00 +0000

david gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2022-06-04 05:00:00 +0000

ladyg gravatar image

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.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2022-03-27 11:00:00 +0000

Seen: 12 times

Last updated: Jun 04 '22