Gardez la valeur après actualiser JavaScript
var someVarName = "value";
localStorage.setItem("someVarKey", someVarName);
Anthony Jr
var someVarName = "value";
localStorage.setItem("someVarKey", someVarName);