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