Javascript-Object-To-Array Given a set of object of key value pair you need to convert it into object The input should be {a:1,b:2} The expected o/p should be [["a",1],["b",2]]