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

后端 未结 0 665
一生所求
一生所求 2021-02-15 08:49

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

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