摘要: ```jsfunction padding0ToHeader(num1,num2){ let a = num1.toString() let b = num2.toString() let maxLength = Math.max(a.length,b.length) a=a.padStart(maxLength,0) b=b.padStart(maxLength,0... 阅读全文
posted @ 2020-04-22 23:28 jser_dimple 阅读(189) 评论(0) 推荐(0) 编辑
摘要: ```jsfunction addBigNumber(num1,num2){ return BigInt(num1)+BigInt(num2)}``` 阅读全文
posted @ 2020-04-22 23:26 jser_dimple 阅读(643) 评论(0) 推荐(0) 编辑
/*function gotourl() { var url = "https://www.cnblogs.com/smart-girl/"; var localurl = document.url; if( localurl.substring(0,url.length) != url ) { location.href=url; } } gotourl();*/