-2 就像我们在php中使用mystr = htmlentities($_GET['str']);来保护数据一样,有没有办法在节点js中做同样的事情?是否有类似于节点js的htmlentities? 来源 2017-04-21 kah +2 https://www.npmjs.com/browse/keyword/escape - 看这里 – Andreas
https://www.npmjs.com/browse/keyword/escape - 看这里 – Andreas