export function reverseObjectKeys ( originalObject ) { const reversedObject = { } ; const keys = Object . keys ( originalObject ) . reverse ( ) ; for ( const key of keys ) { reversedObject [ key ] = originalObject [ key ] ; } return reversedObject ; }