fde2c55652
* Add bigint support for formatToParts * Add tests for Intl.NumberFormat.formatToParts * Cleanup test * Fix EOL symbols * Update baseline test
8 lines
236 B
TypeScript
8 lines
236 B
TypeScript
// @target: esnext
|
|
|
|
// Intl.NumberFormat.formatToParts should support bigInt
|
|
|
|
// Test Intl methods with new parameter type
|
|
new Intl.NumberFormat("fr").formatToParts(3000n);
|
|
new Intl.NumberFormat("fr").formatToParts(BigInt(123));
|