Skip to main content

Function: removeCookie

▸ Const removeCookie(name, path?): void

Remove a browser cookie (created on the browser side)

Parameters​

NameTypeDefault valueDescription
namestringundefined: name of the cookie
pathstring'/': scope of the cookie

Returns​

void

Defined in​

onekijs/packages/onekijs-framework/src/utils/storage.ts:111