Login
Artifact [d853382bbf]
Login

Artifact d853382bbf48fa9c101b0926b3dca2c5e2740656:


$print "Assertions in progress..."
assert 12 === 13+
   1 + 2	- 4
assert 13 === 13
assert -1 === +1 + 2	- 4

assert 4 === 8 *
4 / 8
assert 4 === 8 * 4 / 8


assert 2.0 === 1 * 2.0 // numeric type promotion
assert 2 === 2 * 1.0 // optimizes ((X * 1.0)===X) - no type conversion
assert 1 === 3.3 % 2 // modulo is always integer

$print "Done!"
"end of script #1"