<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ES6 Set与Map数据结构</title>
</head>
<body>
<script>
//Set,它类似于数组,但是成员的值都是唯一的,没有重复的值。Set 本身是一个构造函数,用来生成 Set 数据结构
const s=new Set();
// console.
es6 Map,Set
最新推荐文章于 2024-06-14 11:01:38 发布