let obj = {a: "b", c: "d", e: "f"}; let lastItem = Object.values(obj).pop();
let array = [0,1,2,3,4,5,6,7,8,9] let lastOfArray = array[array.length-1]
fruitObject[Object.keys(fruitObject)[Object.keys(fruitObject).length - 1]] // "carrot"