mirror of
https://gitee.com/bimuziyan/ccc-obfuscated-code.git
synced 2026-06-20 09:23:36 +08:00
5 lines
186 B
JavaScript
5 lines
186 B
JavaScript
import assertString from './util/assertString';
|
|
export default function blacklist(str, chars) {
|
|
assertString(str);
|
|
return str.replace(new RegExp("[".concat(chars, "]+"), 'g'), '');
|
|
} |