獲取cookie中的某個參數值 因為cookie的值是很多key=value連接起來的字符串,所以如果要取cookie中某個key的值: function getCookie(name) { let cookieVa ...