You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
</head><body><!-- Navigation--><navid="nav_main"><div><ul><li><ahref="/JavaScript-Garden/" title="JavaScript Garden in English">en</a></li></ul></div><ul><liclass="nav_intro"><h1><ahref="#intro">Einführung</a></h1><ul><li><ahref="#intro.authors">The Authors</a></li><li><ahref="#intro.contributors">Contributors</a></li><li><ahref="#intro.license">License</a></li></ul></li></ul></nav><!-- Mobile navigation--><navid="nav_mobile"><aid="nav_prev_section" href="#">prev section<spanclass="nav_section_name">section name</span></a><aid="nav_next_section" href="#">next section<spanclass="nav_section_name">section name</span></a></nav><!-- Sections--><sectionid="intro"><!-- Introduction--><headerid="intro.intro"><h1>Einführung</h1><div><p>Demnächst.</p></div></header><!-- Articles--><articleid="intro.authors"><h2>The Authors</h2><div><p>This guide is the work of two lovely Stack Overflow users, <ahref="http://stackoverflow.com/users/170224/ivo-wetzel">Ivo Wetzel</a>
4
+
</head><body><!-- Navigation--><navid="nav_main"><div><ul><li><ahref="/JavaScript-Garden/ru" title="JavaScript Гарден по-русски">ru</a></li><li><ahref="/JavaScript-Garden/zh" title="JavaScript Garden 中文翻译">zh</a></li><li><ahref="/JavaScript-Garden/" title="JavaScript Garden in English">en</a></li></ul><aid="top" href="#intro" title="Back to top">#top</a><aid="hide_menu" class="tablet">Hide Menu</a></div><ul><liclass="nav_intro"><h1><ahref="#intro">Einführung</a></h1><ul><li><ahref="#intro.authors">The Authors</a></li><li><ahref="#intro.contributors">Contributors</a></li><li><ahref="#intro.license">License</a></li></ul></li></ul></nav><!-- Mobile navigation--><navid="nav_mobile"><aid="nav_prev_section" href="#">prev section<spanclass="nav_section_name">section name</span></a><aid="nav_next_section" href="#">next section<spanclass="nav_section_name">section name</span></a><aid="show_menu">show menu</a></nav><!-- Sections--><sectionid="intro"><!-- Introduction--><headerid="intro.intro"><h1>Einführung</h1><div><p>Demnächst.</p></div></header><!-- Articles--><articleid="intro.authors"><h2>The Authors</h2><div><p>This guide is the work of two lovely Stack Overflow users, <ahref="http://stackoverflow.com/users/170224/ivo-wetzel">Ivo Wetzel</a>
5
5
(Writing) and <ahref="http://stackoverflow.com/users/313758/yi-jiang">Zhang Yi Jiang</a> (Design).</p></div></article><articleid="intro.contributors"><h2>Contributors</h2><div><ul>
Copy file name to clipboardExpand all lines: index.html
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
<!DOCTYPE html><htmllang="en"><head><title>JavaScript Garden</title><metacharset="utf-8"><metaname="description" content="A Guide to JavaScript's Quirks and Flaws."><linkrel="stylesheet" href="style/garden.css" media="all"><linkrel="stylesheet" href="style/print.css" media="print"><!--[if lt IE 9]>
2
2
<script src="javascript/html5.js"></script>
3
3
<![endif]-->
4
-
</head><body><!-- Navigation--><navid="nav_main"><div><ul><li><ahref="/JavaScript-Garden/ru" title="JavaScript Гарден по-русски">ru</a></li><liclass="active"><ahref="/JavaScript-Garden/" title="JavaScript Garden in English">en</a></li></ul><aid="top" href="#intro" title="Back to top">#top</a><aid="hide_menu" class="tablet">Hide Menu</a></div><ul><liclass="nav_intro"><h1><ahref="#intro">Intro</a></h1><ul><li><ahref="#intro.authors">The Authors</a></li><li><ahref="#intro.contributors">Contributors</a></li><li><ahref="#intro.license">License</a></li></ul></li><liclass="nav_object"><h1><ahref="#object">Objects</a></h1><ul><li><ahref="#object.general">Object Usage and Properties</a></li><li><ahref="#object.prototype">The Prototype</a></li><li><ahref="#object.hasownproperty"><code>hasOwnProperty</code></a></li><li><ahref="#object.forinloop">The <code>for in</code> Loop</a></li></ul></li><liclass="nav_function"><h1><ahref="#function">Functions</a></h1><ul><li><ahref="#function.general">Function Declarations and Expressions</a></li><li><ahref="#function.this">How <code>this</code> Works</a></li><li><ahref="#function.closures">Closures and References</a></li><li><ahref="#function.arguments">The <code>arguments</code> Object</a></li><li><ahref="#function.constructors">Constructors</a></li><li><ahref="#function.scopes">Scopes and Namespaces</a></li></ul></li><liclass="nav_array"><h1><ahref="#array">Arrays</a></h1><ul><li><ahref="#array.general">Array Iteration and Properties</a></li><li><ahref="#array.constructor">The <code>Array</code> Constructor</a></li></ul></li><liclass="nav_types"><h1><ahref="#types">Types</a></h1><ul><li><ahref="#types.equality">Equality and Comparisons</a></li><li><ahref="#types.typeof">The <code>typeof</code> Operator</a></li><li><ahref="#types.instanceof">The <code>instanceof</code> Operator</a></li><li><ahref="#types.casting">Type Casting</a></li></ul></li><liclass="nav_core"><h1><ahref="#core">Core</a></h1><ul><li><ahref="#core.eval">Why Not to Use <code>eval</code></a></li><li><ahref="#core.undefined"><code>undefined</code> and <code>null</code></a></li><li><ahref="#core.semicolon">Automatic Semicolon Insertion</a></li></ul></li><liclass="nav_other"><h1><ahref="#other">Other</a></h1><ul><li><ahref="#other.timeouts"><code>setTimeout</code> and <code>setInterval</code></a></li></ul></li></ul></nav><!-- Mobile navigation--><navid="nav_mobile"><aid="nav_prev_section" href="#">prev section<spanclass="nav_section_name">section name</span></a><aid="nav_next_section" href="#">next section<spanclass="nav_section_name">section name</span></a><aid="show_menu">show menu</a></nav><!-- Sections--><sectionid="intro"><!-- Introduction--><headerid="intro.intro"><h1>Intro</h1><div><p><strong>JavaScript Garden</strong> is a growing collection of documentation about the most
4
+
</head><body><!-- Navigation--><navid="nav_main"><div><ul><li><ahref="/JavaScript-Garden/ru" title="JavaScript Гарден по-русски">ru</a></li><li><ahref="/JavaScript-Garden/zh" title="JavaScript Garden 中文翻译">zh</a></li><liclass="active"><ahref="/JavaScript-Garden/" title="JavaScript Garden in English">en</a></li></ul><aid="top" href="#intro" title="Back to top">#top</a><aid="hide_menu" class="tablet">Hide Menu</a></div><ul><liclass="nav_intro"><h1><ahref="#intro">Intro</a></h1><ul><li><ahref="#intro.authors">The Authors</a></li><li><ahref="#intro.contributors">Contributors</a></li><li><ahref="#intro.license">License</a></li></ul></li><liclass="nav_object"><h1><ahref="#object">Objects</a></h1><ul><li><ahref="#object.general">Object Usage and Properties</a></li><li><ahref="#object.prototype">The Prototype</a></li><li><ahref="#object.hasownproperty"><code>hasOwnProperty</code></a></li><li><ahref="#object.forinloop">The <code>for in</code> Loop</a></li></ul></li><liclass="nav_function"><h1><ahref="#function">Functions</a></h1><ul><li><ahref="#function.general">Function Declarations and Expressions</a></li><li><ahref="#function.this">How <code>this</code> Works</a></li><li><ahref="#function.closures">Closures and References</a></li><li><ahref="#function.arguments">The <code>arguments</code> Object</a></li><li><ahref="#function.constructors">Constructors</a></li><li><ahref="#function.scopes">Scopes and Namespaces</a></li></ul></li><liclass="nav_array"><h1><ahref="#array">Arrays</a></h1><ul><li><ahref="#array.general">Array Iteration and Properties</a></li><li><ahref="#array.constructor">The <code>Array</code> Constructor</a></li></ul></li><liclass="nav_types"><h1><ahref="#types">Types</a></h1><ul><li><ahref="#types.equality">Equality and Comparisons</a></li><li><ahref="#types.typeof">The <code>typeof</code> Operator</a></li><li><ahref="#types.instanceof">The <code>instanceof</code> Operator</a></li><li><ahref="#types.casting">Type Casting</a></li></ul></li><liclass="nav_core"><h1><ahref="#core">Core</a></h1><ul><li><ahref="#core.eval">Why Not to Use <code>eval</code></a></li><li><ahref="#core.undefined"><code>undefined</code> and <code>null</code></a></li><li><ahref="#core.semicolon">Automatic Semicolon Insertion</a></li></ul></li><liclass="nav_other"><h1><ahref="#other">Other</a></h1><ul><li><ahref="#other.timeouts"><code>setTimeout</code> and <code>setInterval</code></a></li></ul></li></ul></nav><!-- Mobile navigation--><navid="nav_mobile"><aid="nav_prev_section" href="#">prev section<spanclass="nav_section_name">section name</span></a><aid="nav_next_section" href="#">next section<spanclass="nav_section_name">section name</span></a><aid="show_menu">show menu</a></nav><!-- Sections--><sectionid="intro"><!-- Introduction--><headerid="intro.intro"><h1>Intro</h1><div><p><strong>JavaScript Garden</strong> is a growing collection of documentation about the most
5
5
quirky parts of the JavaScript programming language. It gives advice to
6
6
avoid common mistakes, subtle bugs, as well as performance issues and bad
7
7
practices that non-expert JavaScript programmers may encounter on their
@@ -10,7 +10,7 @@
10
10
<p>JavaScript Garden does <strong>not</strong> aim to teach you JavaScript. Former knowledge
11
11
of the language is strongly recommended in order to understand the topics covered
12
12
in this guide. In order to learn the basics of the language, please head over to
13
-
the excellent <ahref="https://developer.mozilla.org/en/JavaScript/Guide">guide</a> on the Mozilla Developer Network.</p></div></header><!-- Articles--><articleid="intro.authors"><h2>The Authors</h2><div><p>This guide is the work of two lovely Stack Overflow users, <ahref="http://stackoverflow.com/users/170224/ivo-wetzel">Ivo Wetzel</a>
13
+
the excellent <ahref="https://developer.mozilla.org/en/JavaScript/Guide">guide</a> on the Mozilla Developer Network.</p></div></header><!-- Articles--><articleid="intro.authors"><h2>The Authors</h2><div><p>This guide is the work of two lovely <ahref="http://stackoverflow.com/">Stack Overflow</a> users, <ahref="http://stackoverflow.com/users/170224/ivo-wetzel">Ivo Wetzel</a>
14
14
(Writing) and <ahref="http://stackoverflow.com/users/313758/yi-jiang">Zhang Yi Jiang</a> (Design).</p></div></article><articleid="intro.contributors"><h2>Contributors</h2><div><ul>
0 commit comments