String Manipulation Methods
What string manipulation technique is demonstrated here?
const str = 'hello world';
const result = str.replace(/\b\w/g, char => char.toUpperCase());
const str = 'hello world';
const result = str.replace(/\b\w/g, char => char.toUpperCase());