UNPKG

@formatjs/ecma402-abstract

Version:

A collection of implementation for ECMAScript abstract operations

10 lines (9 loc) 366 B
/** * https://tc39.es/ecma402/#sec-formatapproximately */ export function FormatApproximately(internalSlots, result) { var symbols = internalSlots.dataLocaleData.numbers.symbols[internalSlots.numberingSystem]; var approximatelySign = symbols.approximatelySign; result.push({ type: 'approximatelySign', value: approximatelySign }); return result; }