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
Copy file name to clipboardExpand all lines: index.html
+1-1Lines changed: 1 addition & 1 deletion
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><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><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
0 commit comments