String Manipulation Methods
What advanced string processing technique is demonstrated here?
const str = ' Hello World ';
const words = str.split(/\s+/).filter(Boolean);
const str = ' Hello World ';
const words = str.split(/\s+/).filter(Boolean);