As you can see below, Intl.NumberFormat.formatToParts seems to be missing from Microsoft Edge:

However, both MDN and CanIUse tell me I can...
What am I supposed to do? I can't seem to find any website speaking about this issue, nor can I find a polyfill (EDIT: a polyfill is actually available on MDN, but as I said in my last phrase, I am more interested in the reasons why this method is missing whereas both MDN and CanIUse say it is available on Edge).
I am using it like this:
return (_numberFormat as any).formatToParts(val).map(({type, value}) => {
if (type === 'group')
return ' ';
return value;
}).reduce((string, part) => string + part);
(all I am doing is using a proper space character instead of the unicode default one, which is too slim for the liking of my client)
I know I could work around this (performing a basic format, and replacing the unicode space myself afterwards, or implementing a polyfill), but I am far more intrigued by the fact that this method does not seem to exist on Edge whereas everyone on Earth seems convinced that it does.
Any input appreciated :)
Kind regards,
formatToPartsis missing from TS, well at least from the version I am currently using (hence theas anytrick). I'm not quite sure what EcmaScript version I am transpiling my TS files to, I'd have to double-check that. Thanks anyway!