CertyRush
Đang tải...
C CertyRush
Câu hỏi free preview

Câu 11: 70-480: MCSD Programming in HTML5 with JavaScript and CSS3

You are testing the value of the following variable in JavaScript. var height = "300";A block of code must execute if the following conditions are true: ✑ The height variable is set to 300 ✑ The height variable is of type stringYou need to implement the code to run the test. Which line of code should you use?

Nội dung câu hỏi

You are testing the value of the following variable in JavaScript. var height = "300";A block of code must execute if the following conditions are true: ✑ The height variable is set to 300 ✑ The height variable is of type stringYou need to implement the code to run the test. Which line of code should you use?

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.

  1. A. if (height = = 300)
  2. B. if (height = = "300") — đáp án hiện tại
  3. C. if (height ! "300")
  4. D. if (height ! = 300)

Cộng đồng

0 bình luận công khai. Tên thành viên được ẩn một phần.

Chưa có bình luận. Mở giao diện tương tác để bắt đầu thảo luận.

Câu hỏi liền kề