Suppose i have an object whose values are arrays just like this:
obj = {
'key1': [1,2],
'key2': [3,4],
'key3': [5,6],
}
How to i merge all the arrays of the object into one using concat. The number of keys of the object is dynamic of course but it will have at least one instance The desired output is this:
[1,2,3,4,5,6]