JavaScript Cara Mendapatkan Properti Terakhir Objek

fruitObject[Object.keys(fruitObject)[Object.keys(fruitObject).length - 1]] // "carrot"
Hurt Herring