add extend
This commit is contained in:
@@ -9,7 +9,7 @@ let list = input.trim().replace(/[\r\n a-zA-Z0-9-_~!@#$%^&*\(\)<>?:\"\{\},\.\/;'
|
||||
list = Array.from(new Set(list.split(''))).sort((a, b) => a.localeCompare(b)).join('')
|
||||
// console.log(list)
|
||||
fs.writeFileSync(path.join(__dirname, './output.txt'), list, 'utf8')
|
||||
return
|
||||
// return
|
||||
|
||||
for (let word of list) {
|
||||
// 汉字
|
||||
|
Reference in New Issue
Block a user