@formatjs/ecma402-abstract
Version:
A collection of implementation for ECMAScript abstract operations
13 lines (12 loc) • 487 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.FormatApproximately = FormatApproximately;
/**
* https://tc39.es/ecma402/#sec-formatapproximately
*/
function FormatApproximately(internalSlots, result) {
var symbols = internalSlots.dataLocaleData.numbers.symbols[internalSlots.numberingSystem];
var approximatelySign = symbols.approximatelySign;
result.push({ type: 'approximatelySign', value: approximatelySign });
return result;
}