Cache date formatters using Intl.DateTimeFormat
toLocaleDateString() creates a new formatter on each call which is expensive.
Showing
Please register or sign in to comment
toLocaleDateString() creates a new formatter on each call which is expensive.