0

What is the quickest way in Javascript to transform an object from?

var test = {0:"obj 0", 1:"obj 1" 5:"obj 5"} 

to:

["obj 0", "obj 1", "", "", "", "obj 5"]
Dan Lowe
  • 51,713
  • 20
  • 123
  • 112

0 Answers0