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