Sets this's expiration time to expires
.
If expires
is null, this will be a session cookie and
will expire at the end of the client's session.
(This sets the same property as [[email protected]_max_age].)
this |
a Cookie |
expires |
the new expiration time, or null |