結果 : javascript check if object has all properties