mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
9 lines
349 B
TypeScript
9 lines
349 B
TypeScript
//// [tests/cases/compiler/formatToPartsFractionalSecond.ts] ////
|
|
|
|
//// [formatToPartsFractionalSecond.ts]
|
|
new Intl.DateTimeFormat().formatToParts().find((val) => val.type === 'fractionalSecond')
|
|
|
|
//// [formatToPartsFractionalSecond.js]
|
|
"use strict";
|
|
new Intl.DateTimeFormat().formatToParts().find((val) => val.type === 'fractionalSecond');
|