0👍
I think in (obj, key)
what you’ve calling obj
is actually a key in the object
Try logging the value of Object.keys(...)
before returning it
- [Vuejs]-Register user with Vue.js and Laravel
- [Vuejs]-Issue when trying to pass array value as string via props in Vuejs?
Source:stackexchange.com