Dapatkan kolom daftar array JSON JS

if (results.length > 0){ 
  var columnsIn = results[0]; 
  for(var key in columnsIn){
    console.log(key); // here is your column name you are looking for
  } 
}else{
    console.log("No columns");
}
Fantastic Flatworm