3 lines
69 B
JavaScript
3 lines
69 B
JavaScript
export function cleanString(str) {
|
|
return str.replace(/\s/g, '');
|
|
}
|