Multiple statements and variables: You can enter multiple statements and use variabes by chaining ,. In this case, the last expression is the value of the entire expression. This is nothing specific to a gate, but just a feature of JavaScript expressions. Although discouraged, it is sometimes necessary, as JavaScript is not entirely a functional language: