🌈 搜索
📅  最后修改于: 2022-03-11 15:01:35.456000             🧑  作者: Mango
function numberWithSpaces(x) { return x.toString().replace(/\B(?=(\d{3})+(?!\d))/g, " "); }