if(user) will pass for empty Object/Array, but they are empty and should be rejected. Also if(user) will fail for values like 0 or false ...
確定! 回上一頁