JavaScript Demo: Expressions - Conditional operator. xxxxxxxxxx. 1. function getFee(isMember) {. 2. return (isMember ? '$2.00' : '$10.00');.
確定! 回上一頁