API Reference

Sets the value of a specific cookie.

function setCookie(  
  cookieName: string,  
  cookieValue: string,  
  expirationInDays: number  
)