初次提交

This commit is contained in:
2021-11-15 16:25:49 +08:00
parent 43ef43b849
commit f5eb42da7e
8 changed files with 272 additions and 1 deletions

7
test.js Normal file
View File

@ -0,0 +1,7 @@
const {escape, unescape} = require('./dist/index')
const str = `π=3.14, ¥¢£©®`
const str1 = escape(str)
const str2 = unescape(str1)
console.log(str1)
console.log(str2)