結果 : javascript check if type is object or array