All Tracks/lab boolean check/
Đang tải...
Hướng dẫn thử thách
1 / 1

Build a Boolean Check Function

In this lab, you will build a function that checks if a value is classified as a boolean primitive. Boolean primitives are `true` and `false`. **Objective:** Fulfill the user stories below and get all the tests to pass to complete the lab. **User Stories:** 1. You should have a function called `booWho` that receives one argument. 1. If the argument received is a boolean primitive, the function should return `true`. 1. If the argument is any other value, the function should return `false`.
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.