📅  最后修改于: 2022-03-11 15:01:45.136000             🧑  作者: Mango
//If the given key does not exist in the list associated with the object then this method must return null.
if (localStorage.getItem("infiniteScrollEnabled") === null) {
//...
}