mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-05-08 15:58:33 +00:00
Fix of 1 mistake
This commit is contained in:
parent
e110db4db6
commit
82eb0f9958
@ -68,7 +68,7 @@ if not aBoolValue then print('это значение ложно') end
|
|||||||
|
|
||||||
--[[
|
--[[
|
||||||
Для 'or' и 'and' действует принцип "какой оператор дальше,
|
Для 'or' и 'and' действует принцип "какой оператор дальше,
|
||||||
тот и применается". Это действует аналогично a?b:c
|
тот и применяется". Это действует аналогично a?b:c
|
||||||
операторам в C/js:
|
операторам в C/js:
|
||||||
--]]
|
--]]
|
||||||
ans = aBoolValue and 'yes' or 'no' --> 'no'
|
ans = aBoolValue and 'yes' or 'no' --> 'no'
|
||||||
|
Loading…
Reference in New Issue
Block a user