If I have an object like:
{ \'a\' : \'apple\', \'b\' : \'banana\', \'c\' : \'carrot\' }
If I don\'t know in advance that the list goes up
Let obj be your object. Exec:
obj
(_ => _[Object.keys(_).pop()])( obj )