ddf

2023. 1. 25. 17:13카테고리 없음

반응형

https://bobbyhadz.com/blog/javascript-typeerror-push-is-not-a-function

 

TypeError: push is not a function in JavaScript [Solved] | bobbyhadz

The "push is not a function" error occurs when the `push()` method is called on a value that is not an array. To solve the error, convert the value to an array before calling the method, or make sure to only call the `push()` method on valid arrays.

bobbyhadz.com

 

https://velog.io/@zwonlala/%EB%B0%B0%EC%97%B4-%EB%82%B4%EC%9E%A5%ED%95%A8%EC%88%98-indexOf-findIndex-find

반응형