OR in an if function!?

What do you put in an if function for ‘or’ (|)? I thought it’d be kinda the same as you write an and if function, like ‘&&’.


if ((mouseY>mc1.x) | (Math.random()>0.5){
trace("Whoohoo!")
}

Any ideas? C:-)