From 664a9872a7d947c0f4bbfe725d4ac634e044da19 Mon Sep 17 00:00:00 2001 From: Panda <71349086+jianyun2020@users.noreply.github.com> Date: Sun, 12 Sep 2021 16:10:00 +0800 Subject: Update content in Web/JavaScript/Data_structures, zh-CN (#2378) --- files/zh-cn/web/javascript/data_structures/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'files') diff --git a/files/zh-cn/web/javascript/data_structures/index.html b/files/zh-cn/web/javascript/data_structures/index.html index 193a5cc08a..8e1d7d433a 100644 --- a/files/zh-cn/web/javascript/data_structures/index.html +++ b/files/zh-cn/web/javascript/data_structures/index.html @@ -26,7 +26,7 @@ foo = true; // foo is a Boolean now
最新的 ECMAScript 标准定义了 8 种数据类型:
typeof instance === "undefined"
typeof instance === "boolean"
typeof instance === "string
typeof instance === "bigint"
typeof instance === "symbol"
typeof instance === "object"
。typeof instance === "object"
。typeof instance === "object"
。任何 {{Glossary("constructed")}} 对象实例的特殊非数据结构类型,也用做数据结构:new {{Glossary("Object")}},new {{Glossary("Array")}},new {{Glossary("Map")}},new {{Glossary("Set")}},new {{Glossary("WeakMap")}},new {{Glossary("WeakSet")}},new {{Glossary("Date")}},和几乎所有通过 {{Glossary("new keyword")}} 创建的东西。