結果 : check if typeof object javascript