0

entire method in Object Arrays

how to use entire() method in Object Array My code: https://code.sololearn.com/WtkbQkRigzZJ i got this rerult: 0,[object Object]01,[object Object]12,[object Object]23,[object Object]3

20th Jul 2022, 5:25 AM
Hadi
Hadi - avatar
1 Answer
0
There is 2 entries methods, one for object and one for array. Check this, to convert object name:value to array https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/entries Entries on array https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/entries Check my code to see it in action, but do test in browser, sololearn dont show object values. https://code.sololearn.com/W8ta4X9N6TkU/?ref=app
20th Jul 2022, 2:27 PM
PanicS
PanicS - avatar