JavaScript - Insert a dot after x characters in string

前端 未结 0 2002
灰色年华
灰色年华 2021-01-17 00:39

I have the following string:

const myString = \'xxxxxxxxxxxxxxxxx\';

And I want it to be:

xxxxxxxx.xxxxxxxx.x

相关标签:
回答
  • 消灭零回复
提交回复
热议问题