0

forEach

During using the forEach it throws the error That for each was not a function

1st Jun 2024, 5:32 AM
Sahil Abdul Yunus
Sahil Abdul Yunus - avatar
2 Answers
+ 4
can you share your code
1st Jun 2024, 6:15 AM
Junior
Junior - avatar
+ 1
if it's Javascript, maybe you are applying forEach to the wrong datatype? https://codedamn.com/news/javascript/how-to-fix-typeerror-foreach-is-not-a-function-in-javascript
2nd Jun 2024, 12:37 AM
Bob_Li
Bob_Li - avatar