cara meniadakan javascript variabel boolena

isAllowed = !isAllowed
Tanishq Vyas