All Tracks/workshop word counter/
Đang tải...
Hướng dẫn thử thách
1 / 11

Step 1

In this workshop, you will practice using `for...of` loops by building a function that counts how often a string appears in an array of strings. Before you write that function, you will create a simpler one that logs each character of a string to the console. Start by defining an empty function called `printCharacters` with the parameter `str`.
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:⌘↵
Test Output
Thử thách này không có bài test tự động. Hãy quan sát kết quả trực tiếp ở khung Preview.