I have an JSON obj:
{ 'A' : [1,2,3], 'B': [4,5,6], 'C': [7,8,9] }
I need to create multiple javascript arrays each to store
[1,2,3], [4,5,6], [7,8,9]
separately. The JSON obj can have many such entires as it depends on what returns from SQL database, so the arrays has to be created dynamically. Please tell how to do this.
the arrays has to be created dynamicallythat he saiddestructuring assignment:const [one, two, three] = [[1,2,3], [4,5,6], [7,8,9]];