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