All streams
Search
Write a publication
Pull to refresh
0
0
Send message
Вторая задача решается проще
str.split(' ').reduce((acc, item) => {
  if(item.length > acc) acc = item.length
  return acc
} , 0)

Information

Rating
Does not participate
Registered
Activity