6. Conditional execution

Let's say you want to make a console log only if a given integer x is even. How would you do so? Well, you'll use one of the conditional constructs in JavaScript.