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