Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
TerryBeanX2 authored Aug 22, 2017
1 parent dc1a332 commit a93e8a4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ var test1 = '1234567890'
var format = test1.replace(/\B(?=(\d{3})+(?!\d))/g, ',')
console.log(format) // 1,234,567,890
```
或者
```javascript
(23333333).toLocaleString('en-US') // 23,333,333
```
* nginx跨域配置文件中的片段,重点在于Access-Control-Allow-Headers 很难搜...已经解决
```javascript
//允许自定义的header中带有下划线,我曾经被坑惨了..
Expand Down

0 comments on commit a93e8a4

Please sign in to comment.