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