📅  最后修改于: 2022-03-11 14:54:18.890000             🧑  作者: Mango
// Besides true and false, you can also use 1 or 0
// You have to use brackets around the condition,
// even if its just a single var.
{($bloke) ? 'Male' : 'Female'}