created cookieList and console.log
tried to log cookieList.type