0
var cookie = [
{"domain":".nada.com","flag":true,"expiration":"1595998766"},
{"domain":".nada.com","flag":true,"expiration":"1627534734"},
{"domain":".nada.com","flag":true,"expiration":"1595998765"}
]
// Change the values of the expiration keys to 0 all // Ex.
[
{"domain":".nada.com","flag":true,"expiration":"0"},
{"domain":".nada.com","flag":true,"expiration":"0"},
{"domain":".nada.com","flag":true,"expiration":"0"}
]
cookie.forEach((el) => el.expiration = 0)
– MarceloBoni
@Marceloboni could post as a response this solution :)
– gato
@Marceloboni if possible could post a bro example
– edivan silva