The best resource would be MDN. For saving and loading something that aren’t strings you would need to convert from and to.