What creates the new line for each letter that requires the regular expression: const innerWord = wordEl.innerText.replace(/[ \n]/g, '');

前端 未结 0 1526
我寻月下人不归
我寻月下人不归 2021-02-15 09:22

I understand this code except from things being returned with a new line, rather than one array on the same line, thus requiring the regular expression. Is the map returning one

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