Hướng dẫn thử thách
1 / 1
Build a Longest Word Finder App
In this lab, you will build a function that returns the length of the longest word in the provided sentence.
For example, in the sentence `"The quick brown fox jumped over the lazy dog"`, the longest word is `"jumped"`, which has a length of 6.
**Objective:** Fulfill the user stories below and get all the tests to pass to complete the lab.
**User Stories:**
1. You should create a function named `findLongestWordLength` that takes a string as an argument.
2. The function should return the length of the longest word in the string.
Vượt qua bài kiểm tra hiện tại để mở khóa bài tiếp theo.
main.js
UTF-8 • Tab Size: 2Kiểm tra bài:⌘↵