結果 : check if is array or object javascript