結果 : check if something is an object javascript