芝麻web文件管理V1.00
编辑当前文件:/home/freeclou/app.optimyar.com/backend/node_modules/@formatjs/intl-numberformat/polyfill.js
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var core_1 = require("./src/core"); var to_locale_string_1 = require("./src/to_locale_string"); var ecma402_abstract_1 = require("@formatjs/ecma402-abstract"); var should_polyfill_1 = require("./should-polyfill"); if (should_polyfill_1.shouldPolyfill()) { ecma402_abstract_1.defineProperty(Intl, 'NumberFormat', { value: core_1.NumberFormat }); ecma402_abstract_1.defineProperty(Number.prototype, 'toLocaleString', { value: function toLocaleString(locales, options) { return to_locale_string_1.toLocaleString(this, locales, options); }, }); }