function registerMethods(helpers, i18n) {
  I18n.resMethods.forEach(method => {
    helpers[method] = i18n[method].bind(i18n)
  })
}
function registerMethods(helpers, i18n) {
  I18n.resMethods.forEach(method => {
    helpers[method] = i18n[method].bind(i18n)
  })
}
function registerMethods ( helpers , i18n ) { I18n . resMethods . forEach ( method => { helpers [ method ] = i18n [ method ] . bind ( i18n ) } ) }
Register methods
Register methods