Javascript – How to convert an object type to two dimensional array in lodash?
I need to convert an object type to an array of different objects in order to display several tables in my angular project. Below is my object: let myObject = { internalValue:{city:"Paris", country:"France", pinCode:12345}, originalValue:{city:"Nantes", country:"France", pinCode:34567}, score:{city:10, country:100, pinCode:45}…