wie man ein boolena variabler JavaScript negiert

isAllowed = !isAllowed
Tanishq Vyas