結果 : javascript check if object but not array