Câu 31: 70-480: MCSD Programming in HTML5 with JavaScript and CSS3
You are developing an application that consumes an external web service. The web service returns the latest stock rate. The application has two methods: ✑ The getResults() method makes an AJAX web service request. ✑ The ShowRate() method displays the stock rate from the web service response. The application has two Ja…
Nội dung câu hỏi
You are developing an application that consumes an external web service. The web service returns the latest stock rate. The application has two methods: ✑ The getResults() method makes an AJAX web service request. ✑ The ShowRate() method displays the stock rate from the web service response. The application has two JavaScript variables named newStockRate and stockRate to store the latest and previous stock rates, respectively. Users must be able to compare the old stock rate with the new stock rate. You need to ensure that newStockRate and stockRate retain their values for comparison. Which code segment 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.
- A. Option A
- B. Option B
- C. Option C — đáp án hiện tại
- D. Option D
Cộng đồng
0 bình luận công khai. Tên thành viên được ẩn một phần.