set method
@AvailableInWorkers("window_and_service")
The set() method of the CookieStore interface sets a cookie with
the given name and value or options object.
Implementation
external JSPromise<JSAny?> set(
JSAny nameOrOptions, [
String value,
]);