diff options
author | Peter Bengtsson <mail@peterbe.com> | 2020-12-08 14:40:17 -0500 |
---|---|---|
committer | Peter Bengtsson <mail@peterbe.com> | 2020-12-08 14:40:17 -0500 |
commit | 33058f2b292b3a581333bdfb21b8f671898c5060 (patch) | |
tree | 51c3e392513ec574331b2d3f85c394445ea803c6 /files/zh-cn/glossary/undefined | |
parent | 8b66d724f7caf0157093fb09cfec8fbd0c6ad50a (diff) | |
download | translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.gz translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.bz2 translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.zip |
initial commit
Diffstat (limited to 'files/zh-cn/glossary/undefined')
-rw-r--r-- | files/zh-cn/glossary/undefined/index.html | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/files/zh-cn/glossary/undefined/index.html b/files/zh-cn/glossary/undefined/index.html new file mode 100644 index 0000000000..87543ac7c4 --- /dev/null +++ b/files/zh-cn/glossary/undefined/index.html @@ -0,0 +1,30 @@ +--- +title: undefined +slug: Glossary/undefined +translation_of: Glossary/undefined +--- +<p><span class="seoSummary">一个声明未定义的变量的初始值,或没有实际参数的形式参数。</span></p> + +<h2 id="例子">例子</h2> + +<p> </p> + +<pre><code>var x; //创建一个变量,但并没有赋值 + +console.log("X的值是", x) //返回X的值是undefined</code></pre> + +<p> </p> + +<h2 id="更多">更多</h2> + +<h3 id="基本知识">基本知识</h3> + +<ul> + <li>{{Interwiki("wikipedia", "Undefined value")}} on Wikipedia</li> +</ul> + +<h3 id="技术参考">技术参考</h3> + +<ul> + <li><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures">JavaScript data types and data structures</a></li> +</ul> |