function toLocaleString(x, locales, options) {
      var numberFormat = new NumberFormat(locales, options);
      return numberFormat.format(x);
  }
Check if Intl.NumberFormat is ES2020 compatible.
Caveat: we are not checking `toLocaleString`.

@public
@param unit unit to check