api impresiones
This commit is contained in:
+5
@@ -0,0 +1,5 @@
|
||||
import assertString from './util/assertString';
|
||||
export default function whitelist(str, chars) {
|
||||
assertString(str);
|
||||
return str.replace(new RegExp("[^".concat(chars, "]+"), 'g'), '');
|
||||
}
|
||||
Reference in New Issue
Block a user