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><liclass="active"><ahref="/JavaScript-Garden/" title="JavaScript Garden in English">en</a></li></ul></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></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
0 commit comments