結果 : javascript return smaller of two values