@formatjs/intl-enumerator
Version:
Intl.Enumerator polyfill
13 lines (12 loc) • 393 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
var should_polyfill_1 = require("./should-polyfill");
var src_1 = require("./src");
if ((0, should_polyfill_1.shouldPolyfill)()) {
Object.defineProperty(Intl, 'supportedValuesOf', {
value: src_1.supportedValuesOf,
enumerable: true,
writable: false,
configurable: false,
});
}