利用原生js手撕本地存储实现 存储、获取、删除、清空功能。
代码如下:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
</head>
<body>
<input type="text"/>
<button class="set">存储</button>
<button class
利用原生js手撕本地存储实现 存储、获取、删除、清空功能。
代码如下:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
</head>
<body>
<input type="text"/>
<button class="set">存储</button>
<button class