js判断cookie是否存在var cookie = document.cookiecookie是个字符串型的判断其长度if(cookie.length == 0 ){ alert('不存在cookie')}<a target=2023-02-21JavaScript200