always check if condition in javascript code example
Example 1: if statement
if( name = 'george washington'):
print("You have the same name as the first president of the United States")
// python
else:
print("You do not have the same name as George Washington")
Example 2: javascript if
if (32 == 32) {
console.log('32 is equil to 32!');
}