400+ câu trắc nghiệm Kịch bản ASP/Javascript/ PHP có đáp án - Phần 13

Đoạn lệnh sau có tác dụng gì?Dim intCounter As Integer = 1While intCounter < 10 Response.Write(intCounter & "") intCounter += 1End While

19/25

Đoạn lệnh sau có tác dụng gì?

Dim intCounter As Integer = 1

While intCounter < 10

Response.Write(intCounter & "
")

intCounter += 1

End While

</>

Hiển thị trên trình duyệt từ 2 tới 9

Hiển thị trên trình duyệt từ 1 tới 9

Hiển thị trên trình duyệt từ 3 tới 9

Hiển thị trên trình duyệt từ 5 tới 9

Giải thích

Chọn đáp án B