All Tracks/workshop rps game/
Đang tải...
Hướng dẫn thử thách
1 / 14

Step 3

The next step is to build out the functionality that will generate a random choice for the computer. Create a function called `getRandomComputerResult` that returns a random choice from the `options` array. *Hint*: Don't forget that in the earlier JavaScript fundamentals section, you learned about using `Math.random()` and `Math.floor()`.
Vượt qua bài kiểm tra hiện tại để mở khóa bài tiếp theo.
main.html
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.