browser.cookies vs documents.cookie code example Example: check cookies client side const cookies = document.cookie