if statement javascript compare type code example Example: != javascript // " != " in Javasacript means : not equal.