結果 : check empty and undefined in javascript