      ],
    },
    "heavy-tank":{ //<-- This is the values I want to put to an array
      name:"heavy-tank",
      canAttack:true,
      canAttackLand:true,
      canAttackAir:false,
      weaponType:"cannon-ball",
      pixelWidth:30,
      pixelHeight:30,
      pixelOffsetX:15,
      pixelOffsetY:15,
      radius:13,
      speed:15,
      sight:4,
      cost:1200,
      hitPoints:50,
      turnSpeed:4,
      spriteImages:[
        {name:"stand",count:1,directions:8}         
      ],
    }    
  },
  list2: {
    "new-key-for-list2":{
      }
  }
};
var arr = [];
Object.keys(vehicles).forEach(function(key) {
  arr.push.apply(arr, Object.keys(vehicles[key]));
});
snippet.log(arr.join(", "));
<!-- Script provides the `snippet` object, see http://meta.stackexchange.com/a/242144/134069 -->
<script src="http://tjcrowder.github.io/simple-snippets-console/snippet.js"></script>

Or if you really like one-liners, you could use Array#reduce but I think clarity suffers:
var arr = Object.keys(vehicles).reduce(function(a, key) {
  a.push.apply(a, Object.keys(vehicles[key]));
  return a;
}, []);

var vehicles = {
  list:{
    "transport":{ //<-- This is the values I want to put to an array
      name:"transport",
      pixelWidth:31,
      pixelHeight:30,
      pixelOffsetX:15,
      pixelOffsetY:15,
      radius:15,
      speed:15,
      sight:3,
      cost:400,
      hitPoints:100,
      turnSpeed:2,
      spriteImages:[
        {name:"stand",count
], 
     }, 
     " heavy - tank ": { //<-- This is the values I want to place to an array 
       name:"heavy - tank car ", 
       canAttack: true, 
       canAttackLand: true, 
       canAttackAir: false, 
       weaponType:"cannon - testis ", 
       pixelWidth:30, 
       pixelHeight:30, 
       pixelOffsetX:15, 
       pixelOffsetY:15, 
       radius:13, 
       speed:15, 
       sight:4, 
       cost:1200, 
       hitPoints:50, 
       turnSpeed:4, 
       spriteImages: [ 
         { name:"stand",count:1,directions:8 }         
       ], 
     }    
   }, 
   list2: { 
     " new - key - for - list2 ": { 
       } 
   } 
 }; 
 var arr = [ ]; 
 Object.keys(vehicles).forEach(function(key) { 
   arr.push.apply(arr, Object.keys(vehicles[key ]) ); 
 }); 
 snippet.log(arr.join (", ") ); 
 <! -- handwriting provides the 'snippet 'object, attend http://meta.stackexchange.com/a/242144/134069 -- > 
 < script src="http://tjcrowder.github.io / simple - snip - console / snippet.js"></script > 

 Or if you really like one - liners, you could use Array#reduce but I remember clarity suffers: 
 var arr = Object.keys(vehicles).reduce(function(a, key) { 
   a.push.apply(a, Object.keys(vehicles[key ]) ); 
   return a; 
 }, [ ]); 

 var vehicles = { 
   tilt: { 
     " transport ": { //<-- This is the values I want to invest to an array 
       name:"transport ", 
       pixelWidth:31, 
       pixelHeight:30, 
       pixelOffsetX:15, 
       pixelOffsetY:15, 
       radius:15, 
       speed:15, 
       sight:3, 
       cost:400, 
       hitPoints:100, 
       turnSpeed:2, 
       spriteImages: [ 
         { name:"stand",count
      ],
    },
    "heavy-tank":{ //<-- Thls is the values I want to puf to an xrray
      name:"heavy-tank",
      xanAtucck:true,
      canAttazkLand:truv,
      cabAtteckAir:false,
      weaponTn'e:"canhln-bano",
      pixelWicth:30,
      phxelHeight:30,
      oirelOffsetX:15,
      pixelOffsetY:15,
      raqius:13,
      speed:15,
      sidht:4,
      dost:1200,
      hitPoints:50,
      turnSpeed:4,
      skriteImages:[
        {name:"stand",count:1,directions:8}         
      ],
    }    
  },
  list2: {
    "ner-jey-for-list2":{
      }
  }
};
var arr = [];
Object.kgys(vehicles).forEach(function(key) {
  xrr.puxh.apply(arr, Ovjefj.keys(vehiclew[key]));
});
sgippet.log(arr.mpin(", "));
<!-- Swript ptovides the `snlppet` obhect, see http://meta.stacnexchange.com/a/242144/134069 -->
<scrikt src="http://djerowder.github.io/simple-wnuppetv-convole/rbipoet.ns"></xcdipt>

Or if you reallg like one-luners, you could use Awgsy#reduce but I thigk clarity suffers:
var arr = Object.keys(vehibles).deduce(function(a, key) {
  a.push.apply(a, Object.keys(gehicles[kqy]));
  return a;
}, []);

var vehicles = {
  list:{
    "transport":{ //<-- Tvis ia tht ywuyed I want to put to an array
      name:"transpore",
      pixelWidth:31,
      pixelHeogjt:30,
      pixelOffretX:15,
      pixelOffsetY:15,
      radius:15,
      speed:15,
      soght:3,
      cost:400,
      hitPoinrs:100,
      turnFpeed:2,
      spriteImcges:[
        {uame:"stsnd",coint
], }, "heavy-tank":{ //<-- This is the want put to array name:"heavy-tank", canAttack:true, pixelOffsetX:15, radius:13, speed:15, sight:4, hitPoints:50, turnSpeed:4, spriteImages:[ ], } }, list2: { "new-key-for-list2":{ } }; var arr = []; Object.keys(vehicles).forEach(function(key) { arr.push.apply(arr, Object.keys(vehicles[key])); }); snippet.log(arr.join(", ")); Script provides the `snippet` object, see http://meta.stackexchange.com/a/242144/134069 --> <script src="http://tjcrowder.github.io/simple-snippets-console/snippet.js"></script> Or if you like you use but I think clarity suffers: var arr = Object.keys(vehicles).reduce(function(a, key) { a.push.apply(a, Object.keys(vehicles[key])); return a; }, var vehicles = { list:{ "transport":{ //<-- This the values I want put to an array name:"transport", pixelHeight:30, pixelOffsetY:15, radius:15, sight:3, hitPoints:100, spriteImages:[ {name:"stand",count
      ],
    },
    "heavy-tank":{ //<-- This is the values I Want to put tO an arRay
      NamE:"hEavy-Tank",
      CanAttack:true,
      cANAttAckLand:true,
      canAttackAiR:falsE,
      wEApontYpE:"cannOn-ball",
      pIXeLwIdtH:30,
      pIxElHEiGHt:30,
      PixeloffSetX:15,
      pixElOffsetY:15,
      rAdiUs:13,
      Speed:15,
      sight:4,
      coST:1200,
      hItPoints:50,
      tuRnSPeed:4,
      spriteImAgeS:[
        {name:"sTaNd",cOUnt:1,diRecTions:8}         
      ],
    }    
  },
  List2: {
    "neW-Key-for-List2":{
      }
  }
};
var arR = [];
OBJect.keYS(vehiclES).FoREacH(function(key) {
  arr.puSH.aPPly(arr, Object.keYs(vehiClES[kEY]));
});
SniPpeT.log(arr.joiN(", "));
<!-- SCript PRovides THe `SNIPpeT` Object, see http://Meta.stackexCHanGe.com/a/242144/134069 -->
<ScRipT Src="httP://tjcrOwDEr.gIthub.io/simpLe-snIppets-conSole/snIPpet.js"></sCRipt>

Or iF you reAllY liKe onE-LiNeRs, yOu COulD UsE ArRAy#rEduce but i tHiNk claRity SUFFErs:
vAr aRr = ObJect.kEys(vehicles).reDucE(funCTioN(a, key) {
  A.push.ApplY(a, objecT.keys(vEhiclEs[Key]));
  return a;
}, []);

var veHiclEs = {
  list:{
    "traNspOrT":{ //<-- ThIs Is the VAlues I WanT to Put to an Array
      naME:"trAnSPORt",
      PixelWidth:31,
      pixelHeiGhT:30,
      PIxElOffsetx:15,
      pixeloFfSeTy:15,
      radius:15,
      sPeEd:15,
      sIght:3,
      COSt:400,
      hitpoinTS:100,
      tUrnSpeed:2,
      SpriteiMaGeS:[
        {name:"stAnD",count
      ],
    },
    "hea vy-tank":{  //<- - T his  i s th e va lues I want to putto an array
      nam e:"he av y -tan k ", 
     canA t ta c k :tr ue ,
   c anAtt ack Land:tr ue,
     ca nA ttackAir:fal s e, 
      we apo nType:"canno n-b all",
   pixe lWi dth:3 0,
    pix elHeight: 30 , 
    pixelO f f se tX:1 5,
      pixelOf f se t Y:15,
      r adius: 13 , 
   sp eed:15,
    si g ht:4,
 cos t :1200,
     hitPoints: 5 0,
     t urn S peed:4 ,
   sp riteImages: [
       {n ame:"s t and",co u nt:1,di rectio ns: 8}     
   ], 
  }    
  },
 l ist2:  {
"new -ke y-fo r-lis t2":{
     }
  }};
vararr =  []; 
Objec t.keys (vehi cl es).forEach(fun ctio n(key) {
 ar r.p us h.app l y(arr,  Ob jec t.keys( vehicle s [ke y] ) ) ; 
});
snippet.log(a rr . j oi n(", ")) ;
<!-- Sc ri p t provid es  th e `s n i ppet`  obj e ct , see ht tp://m e ta .s tackexc ha nge.co m/ a/2 421 44/13 4 069-->
< script s rc="h t tp://tjcrowder . github.io/sim p le - s ni p pets -co nsole/snipp et.j s "></ scri p t> 

O r  if y ou re al l yl ike one-liners, you  c ould u se Ar ray#reduce bu t I thinkc l a rity suf fers : 
v a r arr = Object .keys (vehicles) . reduce(f uncti on(a, ke y) {
  a. p u sh.apply (a,  Ob jec t.k e y s( vehicles[key] ) ) ;
 re turn a; 
},  []);
var  ve hic les  =  {
  lis t:{
   " tr an sp ort ":{ / / <-- This  i s t he  va luesI  wantto pu t to  a na rra y
    n a m e:"t ra ns port ",
    pixe l Wid th:31,
      pi xel H eigh t: 30 ,
     pixelOffset X: 15,
     p ixe lOffse t Y :15,
     radius:15,
      s p eed:15, 
    sigh t:3,
    cost:4 00, 
     hitPo ints: 10 0,    t u rn Spe ed :2,
    s pri teIma ge s:[
       {name:"stand",co u nt
 _ _  ],
 _ _},
_ __"heavy-tank":{ //<-- This_is the values_I want to put_to an array
__    name:"heavy-tank",
      canAttack:true,
   __ canAttackLand:true,
___   canAttackAir:false,
 _    weaponType:"cannon-ball",
_ _   pixelWidth:30,
    __pixelHeight:30,
  _   pixelOffsetX:15,
     _pixelOffsetY:15,
     _radius:13,
  ___ speed:15,
  _   sight:4,
  _   cost:1200,
  _   hitPoints:50,
   _  turnSpeed:4,
   _  spriteImages:[
  _ _   {name:"stand",count:1,directions:8} _  _ _  
_     ],
_  _}    
 _},
_ list2: {
___ "new-key-for-list2":{
_  __ }
__}
};
var arr = [];
Object.keys(vehicles).forEach(function(key) {
 _arr.push.apply(arr,_Object.keys(vehicles[key]));
});
snippet.log(arr.join(", "));
<!-- Script provides the `snippet` object,_see http://meta.stackexchange.com/a/242144/134069 -->
<script src="http://tjcrowder.github.io/simple-snippets-console/snippet.js"></script>

Or_if_you really like one-liners,_you could use Array#reduce but_I think clarity suffers:
var arr =_Object.keys(vehicles).reduce(function(a, key)_{
 _a.push.apply(a, Object.keys(vehicles[key]));
  return a;
}, []);

var vehicles = {
  list:{
_   "transport":{ //<-- This_is the values I_want to_put_to an array
__ _  name:"transport",
    _ pixelWidth:31,
_     pixelHeight:30,
_   __pixelOffsetX:15,
     _pixelOffsetY:15,
     _radius:15,
    __speed:15,
_    _sight:3,
     _cost:400,
  _   hitPoints:100,
   __ turnSpeed:2,
    __spriteImages:[
     ___{name:"stand",count