結果 : check if property is object javascript