mirror of
https://github.com/System-End/site.git
synced 2026-04-19 22:05:11 +00:00
3 lines
115 B
JavaScript
3 lines
115 B
JavaScript
export default function Comma({ children }) {
|
|
return children.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ',')
|
|
}
|