@formatjs/ecma402-abstract
Version:
A collection of implementation for ECMAScript abstract operations
9 lines (8 loc) • 382 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.FormatNumeric = FormatNumeric;
var PartitionNumberPattern_1 = require("./PartitionNumberPattern");
function FormatNumeric(internalSlots, x) {
var parts = (0, PartitionNumberPattern_1.PartitionNumberPattern)(internalSlots, x);
return parts.map(function (p) { return p.value; }).join('');
}