我的 nodejs 安装没有 String.localCompare 方法。为什么?

My nodejs install has not the String.localCompare method. Why?

标题很清楚,但是这个代码示例会让它变得crystal清楚:

> node
> 'at'.localCompare
undefined
> 'at'.compare

我猜这将是下一个问题,这里是关于我的环境的信息

> npm version
{ npm: '5.2.0',
  ares: '1.10.1-DEV',
  cldr: '31.0.1',
  http_parser: '2.7.0',
  icu: '59.1',
  modules: '57',
  node: '8.1.4',
  openssl: '1.0.2l',
  tz: '2017b',
  unicode: '9.0',
  uv: '1.12.0',
  v8: '5.8.283.41',
  zlib: '1.2.11' }

考虑到这一点,如何在我的环境中恢复 localCompare?

函数 localCompare 不存在,localeCompare 存在。