結果 : check for negative number javascript