1//XCal - Javascript Inline Conditional Sample (condition brackets only for clarity)
2// v-? = Conditional Operator
3// v v-: = True/False result value separator
4//Format = v-Condition-v ? v-When True-v : v-When False-v
5var vResult = (null == null) ? 'Condition True' : 'Condition False';
6//vResult is now 'Condition True';
1<!DOCTYPE html>
2<html>
3<head>
4<meta charset=utf-8 />
5<title>Write a JavaScript conditional statement to find the largest of five numbers</title>
6</head>
7<body>
8
9</body>
10</html>
11
12