Đang chuẩn bị liên kết để tải về tài liệu:
Web engineering: Lecture 17, 18 - Majid Mumtaz

Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ

This lecture introduce JavaScript Statements. In JavaScript we have the following conditional statements, that is If statement, if.else statement, if.else if.else statement, and switch statement. In this lecture, we will learn this four statements. | Web Engineering Lecture 17-18 MAJID MUMTAZ Department of Computer Science CIIT Wah 1 JavaScript Statements In JavaScript we have the following conditional statements - if statement - use this statement to execute some code only if a specified condition is true - if.else statement - use this statement to execute some code if the condition is true and another code if the condition is false - if.else if.else statement - use this statement to select one of many blocks of code to be executed - switch statement - use this statement to select one of many blocks of code to be executed 2 JavaScript Statements If Statement if condition code to be executed if condition is true Example if time 20 x Good day