Câu 35: 70-480: MCSD Programming in HTML5 with JavaScript and CSS3
You need to test the value of the following variable in JavaScript. var length = "75";A block of code must execute if the length equals 75 regardless of the data type. You need to use the statement that meets this requirement. Which lines of code should you use? (Each correct answer presents a complete solution. Choos…
Nội dung câu hỏi
You need to test the value of the following variable in JavaScript. var length = "75";A block of code must execute if the length equals 75 regardless of the data type. You need to use the statement that meets this requirement. Which lines of code should you use? (Each correct answer presents a complete solution. Choose two.)
Các lựa chọn
Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.
- A. if (length = = = 75)
- B. if (length = = 75) — đáp án hiện tại
- C. if (length! = 75)
- D. if (length = = "75") — đáp án hiện tại
Cộng đồng
0 bình luận công khai. Tên thành viên được ẩn một phần.