Yeah... They idea is to imagine language wehere instead of true/false (0/1) they use True/False (those which I provided). It is hard to wrap head around in JS. But I have series of posts about creating a language, in this language we can:
1 - implement "procedural" if
2 - remove "procedural" if and implement functional if
This should be more clear.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Or imagine any function which would return our predefined values
True
orFalse
.Awesome, thanks.
The conversion was the tricky part... looks obvious now that you showed it.
Yeah... They idea is to imagine language wehere instead of
true/false
(0/1
) they useTrue/False
(those which I provided). It is hard to wrap head around in JS. But I have series of posts about creating a language, in this language we can:if
if
and implement functionalif
This should be more clear.