The braces are superfluous. For the comparison, let’s use strict comparison `!=='.