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
  • 44,653
  • 17
  • 114
  • 109

0 Answers0