суббота, 2 февраля 2013 г.

оператор if в javascript

  alert(iCount + " is less the 10");

Here, If the resulting value of conditional expression is true or can be evaluated to true, statement block enclosed within the Curly braces – {} is executed.

  statement block executed if condition is true(satisfied).

JavaScript if Condition Statements are used to perform different actions (make decisions) based on different conditions evaluated to a Boolean true or false. JavaScript if Condition Statement help us to execute statement block conditionally.

Decision making based on different computations or perform actions depending on a programmer-specified condition is one of the features of the JavaScript language.

Learning JavaScript tutorial – JavaScript if, if else and else if Condition Statement

Lorem ipsum dolor sit amet consectetuer Suspendisse risus est sociis

Learning JavaScript tutorial - JavaScript if, if else and else if Condition Statement | Tips n Tracks

Комментариев нет:

Отправить комментарий