Esta función se utiliza para almacenar artículos en el almacenamiento local.

window.localStorage.setItem("grade","One");
//in this case, the `grade` is the key while `One` is the value.
Ariful Islam Adil(Code Lover)