結果 : test if object javascript