x and z can be variables, in which case their values will just be returned by that expression, or they can be actual operations, and in this case too they'll be evaluated, i.e. executed.
It'll show 2 alerts, the first showing "Hey", and the second - "there".
Also, it doesn't sound like this is very important to you, but it should be noted that the second expression's value (whatever is returned by executing y) will be returned as the result of the complete expression.
A comma sounds like what you're looking for.
xandzcan be variables, in which case their values will just be returned by that expression, or they can be actual operations, and in this case too they'll be evaluated, i.e. executed.So, if you do:
It'll show 2 alerts, the first showing "Hey", and the second - "there".
Also, it doesn't sound like this is very important to you, but it should be noted that the second expression's value (whatever is returned by executing
y) will be returned as the result of the complete expression.