src/number_formatter.js
function get(object, key, ...args) {
  if (object) {
    const value = object[key];
    if (typeof value === 'function') {
      return value(...args);
    } else {
      return value;
    }
  }
}
function get(object, key, ...args) {
  if (object) {
    const value = object[key];
    if (typeof value === 'function') {
      return value(...args);
    } else {
      return value;
    }
  }
}
function get ( object , key , ... args ) { if ( object ) { const value = object [ key ] ; if ( typeof value === 'function' ) { return value ( ... args ) ; } else { return value ; } } }
This simple property getter assumes that properties will never be functions
and so attempts to run those functions using the given args.

@private
This simple property getter assumes that properties will never be functions and so attempts to run those functions using the given args .