1👍
✅
Objects don’t have .length property in JavaScript. Use the following to get the length:
Object.keys(<your-object-here>).length
👤Aman
Source:stackexchange.com
1👍
Objects don’t have .length property in JavaScript. Use the following to get the length:
Object.keys(<your-object-here>).length