結果 : check if type is object javascript