結果 : javascript check if object attribute exists