Native JavaScript or ES6 way to encode and decode HTML entities? A nice function using es6 for escaping html: const escapeHTML = str => str.replace(/[&<>'"]/ ...
確定! 回上一頁