mirror of https://github.com/arendst/Tasmota.git
11 lines
300 B
Plaintext
11 lines
300 B
Plaintext
|
assert("" != 0 ? true : false)
|
||
|
assert(false || !(true ? false : true) && true)
|
||
|
var t1 = 8, t2 = false
|
||
|
if t1 ? 7 + t1 : t2
|
||
|
var a = 'good'
|
||
|
assert((a == 'good' ? a + '!' : a) == 'good!')
|
||
|
assert((a == 'good?' ? a + '!' : a) != 'good!')
|
||
|
else
|
||
|
assert('condition expression test failed')
|
||
|
end
|