2009-06-22 booleanも引数や変数に? JS WSH ↓演算子? n > 3 だとかも変数や引数にできるんですね。 true、falseもできるから常識なのかな? var num = 9; var boo = (num > 8); alert(boo ? 1: 0);