I am using the following logic to get the i18n string of the given key.
export function i18n(key) { if (entries.hasOwnProperty(key)) { return entries[k
It seems like this would also work:
key in entries
since that will return a boolean on whether or not the key exists inside the object?