User
str.split(' ').reduce((acc, item) => { if(item.length > acc) acc = item.length return acc } , 0)