0

Is a difference / impact to code if i set "variable = false" in an event without to check it if is true ?

Like:

function OnClick() { variable = true; or variable = object }
function OnMouseMove() { variable = false; or variable = null }

But is set every time false or null. Need to check first ?

0 Answers0