結果 : check if value is an object javascript