mirror of
https://github.com/vercel-labs/scriptc.git
synced 2026-10-21 05:50:55 +08:00
6 lines
216 B
TypeScript
6 lines
216 B
TypeScript
// Unsupported formatters must reach the Date method diagnostic, including
|
|
// names inherited from Object.prototype by the compiler's dispatch table.
|
|
const date = new Date(0);
|
|
date.toString();
|
|
date.toLocaleString();
|