Message from JavaScript discussions

August 2017

— For (x in result){
for(y in result[x]){
console.log(result[x][y]['id']);
}
}

— 

                $.each(result[0]), function(index,el){
$.each(result[0]), function(index,el){
console.log("harga paket : " +el.harga+" , id harga paket : "+el.id);
};
};


do you mean something like this ?

— No, just run that ^

— Also doesn't run

— What's the error?

— Undefined

— Lol

— The console said undefined

— Then it runs

— You're not doing anything with the result

— What did you expect

— Lol, not it is not