Open efdotjay opened 4 years ago
localStorate sets null and undefined values as strings "null" and "undefined". Therefore set method should smartly remove item in this case.
localStorate
null
undefined
"null"
"undefined"
set
localStorate
setsnull
andundefined
values as strings"null"
and"undefined"
. Thereforeset
method should smartly remove item in this case.