結果 : check value is negative in javascript