📅  最后修改于: 2022-03-11 15:01:26.191000             🧑  作者: Mango
//localStorage - stores data with no expiration date. window. sessionStorage - stores data for one session (data is lost when the browser tab is closed)