結果 : check empty condition in javascript