{"payload":{"allShortcutsEnabled":false,"fileTree":{"":{"items":[{"name":"async & performance","path":"async & performance","contentType":"directory"},{"name":"es6 & beyond","path":"es6 & beyond","contentType":"directory"},{"name":"scope & closures","path":"scope & closures","contentType":"directory"},{"name":"this & object prototypes","path":"this & object prototypes","contentType":"directory"},{"name":"types & grammar","path":"types & grammar","contentType":"directory"},{"name":"up & going","path":"up & going","contentType":"directory"},{"name":"CONTRIBUTING.md","path":"CONTRIBUTING.md","contentType":"file"},{"name":"LICENSE.txt","path":"LICENSE.txt","contentType":"file"},{"name":"README.md","path":"README.md","contentType":"file"},{"name":"preface.md","path":"preface.md","contentType":"file"}],"totalCount":10}},"fileTreeProcessingTime":2.579603,"foldersToFetch":[],"reducedMotionEnabled":null,"repo":{"id":14440270,"defaultBranch":"2nd-ed","name":"You-Dont-Know-JS","ownerLogin":"getify","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2013-11-16T02:37:24.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/150330?v=4","public":true,"private":false,"isOrgOwned":false},"symbolsExpanded":false,"treeExpanded":true,"refInfo":{"name":"1st-ed","listCacheKey":"v0:1688680581.0","canEdit":false,"refType":"branch","currentOid":"59d33b0c47c214270b87e7afd5670ad864d8a465"},"path":"README.md","currentUser":null,"blob":{"rawLines":null,"stylingDirectives":null,"csv":null,"csvError":null,"dependabotInfo":{"showConfigurationBanner":false,"configFilePath":null,"networkDependabotPath":"/getify/You-Dont-Know-JS/network/updates","dismissConfigurationNoticePath":"/settings/dismiss-notice/dependabot_configuration_notice","configurationNoticeDismissed":null,"repoAlertsPath":"/getify/You-Dont-Know-JS/security/dependabot","repoSecurityAndAnalysisPath":"/getify/You-Dont-Know-JS/settings/security_analysis","repoOwnerIsOrg":false,"currentUserCanAdminRepo":false},"displayName":"README.md","displayUrl":"https://github.com/getify/You-Dont-Know-JS/blob/1st-ed/README.md?raw=true","headerInfo":{"blobSize":"3.29 KB","deleteInfo":{"deleteTooltip":"You must be signed in to make or propose changes"},"editInfo":{"editTooltip":"You must be signed in to make or propose changes"},"ghDesktopPath":"https://desktop.github.com","gitLfsPath":null,"onBranch":true,"shortPath":"cc81670","siteNavLoginPath":"/login?return_to=https%3A%2F%2Fgithub.com%2Fgetify%2FYou-Dont-Know-JS%2Fblob%2F1st-ed%2FREADME.md","isCSV":false,"isRichtext":true,"toc":[{"level":1,"text":"You Don't Know JS (book series) - 1st Edition","anchor":"you-dont-know-js-book-series---1st-edition","htmlText":"You Don't Know JS (book series) - 1st Edition"},{"level":2,"text":"Titles","anchor":"titles","htmlText":"Titles"},{"level":2,"text":"Publishing","anchor":"publishing","htmlText":"Publishing"},{"level":2,"text":"Online Video Training","anchor":"online-video-training","htmlText":"Online Video Training"},{"level":2,"text":"Contributions","anchor":"contributions","htmlText":"Contributions"},{"level":2,"text":"License & Copyright","anchor":"license--copyright","htmlText":"License & Copyright"}],"lineInfo":{"truncatedLoc":"49","truncatedSloc":"31"},"mode":"file"},"image":false,"isCodeownersFile":null,"isPlain":false,"isValidLegacyIssueTemplate":false,"issueTemplateHelpUrl":"https://docs.github.com/articles/about-issue-and-pull-request-templates","issueTemplate":null,"discussionTemplate":null,"language":"Markdown","languageID":222,"large":false,"loggedIn":false,"newDiscussionPath":"/getify/You-Dont-Know-JS/discussions/new","newIssuePath":"/getify/You-Dont-Know-JS/issues/new","planSupportInfo":{"repoIsFork":null,"repoOwnedByCurrentUser":null,"requestFullPath":"/getify/You-Dont-Know-JS/blob/1st-ed/README.md","showFreeOrgGatedFeatureMessage":null,"showPlanSupportBanner":null,"upgradeDataAttributes":null,"upgradePath":null},"publishBannersInfo":{"dismissActionNoticePath":"/settings/dismiss-notice/publish_action_from_dockerfile","dismissStackNoticePath":"/settings/dismiss-notice/publish_stack_from_file","releasePath":"/getify/You-Dont-Know-JS/releases/new?marketplace=true","showPublishActionBanner":false,"showPublishStackBanner":false},"rawBlobUrl":"https://github.com/getify/You-Dont-Know-JS/raw/1st-ed/README.md","renderImageOrRaw":false,"richText":"<article class=\"markdown-body entry-content container-lg\" itemprop=\"text\"><h1 tabindex=\"-1\" dir=\"auto\"><a id=\"user-content-you-dont-know-js-book-series---1st-edition\" class=\"anchor\" aria-hidden=\"true\" tabindex=\"-1\" href=\"#you-dont-know-js-book-series---1st-edition\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"></path></svg></a>You Don't Know JS (book series) - 1st Edition</h1>\n<table>\n<thead>\n<tr>\n<th align=\"left\">UPDATE: You are viewing the 1st edition of the book series, as they were published by O'Reilly from 2014-2015. <em><strong>This edition is archived but included here for posterity.</strong></em> As of now, <a href=\"https://github.com/getify/You-Dont-Know-JS/tree/2nd-ed\">2nd edition</a> work is underway. Any issues or PRs should be directed against the latest edition.</th>\n</tr>\n</thead>\n</table>\n<hr>\n<hr>\n<p dir=\"auto\">This is a series of books diving deep into the core mechanisms of the JavaScript language. The first edition of the series is now complete. Also, these first-edition books are now <strong>out of print</strong> and can no longer be purchased. They can only be read for free online here in this markdown format.</p>\n<p dir=\"auto\"><a target=\"_blank\" rel=\"noopener noreferrer\" href=\"/getify/You-Dont-Know-JS/blob/1st-ed/up %26 going/cover.jpg\"><img src=\"/getify/You-Dont-Know-JS/raw/1st-ed/up %26 going/cover.jpg\" width=\"75\" style=\"max-width: 100%;\"></a> \n<a target=\"_blank\" rel=\"noopener noreferrer\" href=\"/getify/You-Dont-Know-JS/blob/1st-ed/scope %26 closures/cover.jpg\"><img src=\"/getify/You-Dont-Know-JS/raw/1st-ed/scope %26 closures/cover.jpg\" width=\"75\" style=\"max-width: 100%;\"></a> \n<a target=\"_blank\" rel=\"noopener noreferrer\" href=\"/getify/You-Dont-Know-JS/blob/1st-ed/this %26 object prototypes/cover.jpg\"><img src=\"/getify/You-Dont-Know-JS/raw/1st-ed/this %26 object prototypes/cover.jpg\" width=\"75\" style=\"max-width: 100%;\"></a> \n<a target=\"_blank\" rel=\"noopener noreferrer\" href=\"/getify/You-Dont-Know-JS/blob/1st-ed/types %26 grammar/cover.jpg\"><img src=\"/getify/You-Dont-Know-JS/raw/1st-ed/types %26 grammar/cover.jpg\" width=\"75\" style=\"max-width: 100%;\"></a> \n<a target=\"_blank\" rel=\"noopener noreferrer\" href=\"/getify/You-Dont-Know-JS/blob/1st-ed/async %26 performance/cover.jpg\"><img src=\"/getify/You-Dont-Know-JS/raw/1st-ed/async %26 performance/cover.jpg\" width=\"75\" style=\"max-width: 100%;\"></a> \n<a target=\"_blank\" rel=\"noopener noreferrer\" href=\"/getify/You-Dont-Know-JS/blob/1st-ed/es6 %26 beyond/cover.jpg\"><img src=\"/getify/You-Dont-Know-JS/raw/1st-ed/es6 %26 beyond/cover.jpg\" width=\"75\" style=\"max-width: 100%;\"></a></p>\n<p dir=\"auto\"><strong>To read more about the motivations and perspective behind this book series, check out the <a href=\"/getify/You-Dont-Know-JS/blob/1st-ed/preface.md\">Preface</a>.</strong></p>\n<h2 tabindex=\"-1\" dir=\"auto\"><a id=\"user-content-titles\" class=\"anchor\" aria-hidden=\"true\" tabindex=\"-1\" href=\"#titles\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"></path></svg></a>Titles</h2>\n<ul dir=\"auto\">\n<li>Read online (free!): <a href=\"/getify/You-Dont-Know-JS/blob/1st-ed/up%20&amp;%20going/README.md#you-dont-know-js-up--going\">\"Up & Going\"</a></li>\n<li>Read online (free!): <a href=\"/getify/You-Dont-Know-JS/blob/1st-ed/scope%20&amp;%20closures/README.md#you-dont-know-js-scope--closures\">\"Scope & Closures\"</a></li>\n<li>Read online (free!): <a href=\"/getify/You-Dont-Know-JS/blob/1st-ed/this%20&amp;%20object%20prototypes/README.md#you-dont-know-js-this--object-prototypes\">\"this & Object Prototypes\"</a></li>\n<li>Read online (free!): <a href=\"/getify/You-Dont-Know-JS/blob/1st-ed/types%20&amp;%20grammar/README.md#you-dont-know-js-types--grammar\">\"Types & Grammar\"</a></li>\n<li>Read online (free!): <a href=\"/getify/You-Dont-Know-JS/blob/1st-ed/async%20&amp;%20performance/README.md#you-dont-know-js-async--performance\">\"Async & Performance\"</a></li>\n<li>Read online (free!): <a href=\"/getify/You-Dont-Know-JS/blob/1st-ed/es6%20&amp;%20beyond/README.md#you-dont-know-js-es6--beyond\">\"ES6 & Beyond\"</a></li>\n</ul>\n<h2 tabindex=\"-1\" dir=\"auto\"><a id=\"user-content-publishing\" class=\"anchor\" aria-hidden=\"true\" tabindex=\"-1\" href=\"#publishing\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"></path></svg></a>Publishing</h2>\n<p dir=\"auto\">The content of these books was released here, and the books were also edited, produced, and published through O'Reilly (2014-2015).</p>\n<p dir=\"auto\">To contribute financially in support, I have a <a href=\"https://www.patreon.com/getify\" rel=\"nofollow\">patreon</a> that I appreciate your generosity towards.</p>\n<p dir=\"auto\"><a href=\"https://www.patreon.com/getify\" rel=\"nofollow\"></a><a href=\"https://www.patreon.com/getify\" rel=\"nofollow\"><img src=\"https://camo.githubusercontent.com/2b7105015397da52617ce6775a339b0b99d689d6f644c2ce911c5d472362bcbd/68747470733a2f2f63352e70617472656f6e2e636f6d2f65787465726e616c2f6c6f676f2f6265636f6d655f615f706174726f6e5f627574746f6e2e706e67\" alt=\"patreon.png\" data-canonical-src=\"https://c5.patreon.com/external/logo/become_a_patron_button.png\" style=\"max-width: 100%;\"></a></p>\n<h2 tabindex=\"-1\" dir=\"auto\"><a id=\"user-content-online-video-training\" class=\"anchor\" aria-hidden=\"true\" tabindex=\"-1\" href=\"#online-video-training\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"></path></svg></a>Online Video Training</h2>\n<p dir=\"auto\">I also have some JS training material available in on-demand video format. I teach courses through <a href=\"https://FrontendMasters.com\" rel=\"nofollow\">Frontend Masters</a>. You can find <a href=\"https://frontendmasters.com/kyle-simpson/\" rel=\"nofollow\">all my courses here</a>.</p>\n<h2 tabindex=\"-1\" dir=\"auto\"><a id=\"user-content-contributions\" class=\"anchor\" aria-hidden=\"true\" tabindex=\"-1\" href=\"#contributions\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"></path></svg></a>Contributions</h2>\n<p dir=\"auto\">These first-edition books are complete and published and will not be changed in any way, so there's no further need for contributions. They will remain here for posterity, but are not being maintained. See the <a href=\"https://github.com/getify/You-Dont-Know-JS/tree/2nd-ed\">2nd edition books</a> for the active work in this repository.</p>\n<h2 tabindex=\"-1\" dir=\"auto\"><a id=\"user-content-license--copyright\" class=\"anchor\" aria-hidden=\"true\" tabindex=\"-1\" href=\"#license--copyright\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"></path></svg></a>License & Copyright</h2>\n<p dir=\"auto\">The materials herein are all © 2013-2019 Kyle Simpson.</p>\n<p dir=\"auto\"><a href=\"http://creativecommons.org/licenses/by-nc-nd/4.0/\" rel=\"nofollow\"><img alt=\"Creative Commons License\" src=\"https://camo.githubusercontent.com/3f6af33ec372f6eb8a74152e311d8f3ba281cbfb44b003d825de68bcbcffbe9d/68747470733a2f2f692e6372656174697665636f6d6d6f6e732e6f72672f6c2f62792d6e632d6e642f342e302f38387833312e706e67\" data-canonical-src=\"https://i.creativecommons.org/l/by-nc-nd/4.0/88x31.png\" style=\"max-width: 100%;\"></a><br>This work is licensed under a <a href=\"http://creativecommons.org/licenses/by-nc-nd/4.0/\" rel=\"nofollow\">Creative Commons Attribution-NonCommercial-NoDerivs 4.0 Unported License</a>.</p>\n</article>","renderedFileInfo":null,"shortPath":null,"tabSize":8,"topBannersInfo":{"overridingGlobalFundingFile":false,"globalPreferredFundingPath":null,"repoOwner":"getify","repoName":"You-Dont-Know-JS","showInvalidCitationWarning":false,"citationHelpUrl":"https://docs.github.com/en/github/creating-cloning-and-archiving-repositories/creating-a-repository-on-github/about-citation-files","showDependabotConfigurationBanner":false,"actionsOnboardingTip":null},"truncated":false,"viewable":true,"workflowRedirectUrl":null,"symbols":{"timedOut":false,"notAnalyzed":false,"symbols":[{"name":"You Don't Know JS (book series) - 1st Edition","kind":"section_1","identStart":2,"identEnd":47,"extentStart":0,"extentEnd":3366,"fullyQualifiedName":"You Don't Know JS (book series) - 1st Edition","identUtf16":{"start":{"lineNumber":0,"utf16Col":2},"end":{"lineNumber":0,"utf16Col":47}},"extentUtf16":{"start":{"lineNumber":0,"utf16Col":0},"end":{"lineNumber":49,"utf16Col":0}}},{"name":"Titles","kind":"section_2","identStart":1175,"identEnd":1181,"extentStart":1172,"extentEnd":1853,"fullyQualifiedName":"Titles","identUtf16":{"start":{"lineNumber":19,"utf16Col":3},"end":{"lineNumber":19,"utf16Col":9}},"extentUtf16":{"start":{"lineNumber":19,"utf16Col":0},"end":{"lineNumber":28,"utf16Col":0}}},{"name":"Publishing","kind":"section_2","identStart":1856,"identEnd":1866,"extentStart":1853,"extentEnd":2294,"fullyQualifiedName":"Publishing","identUtf16":{"start":{"lineNumber":28,"utf16Col":3},"end":{"lineNumber":28,"utf16Col":13}},"extentUtf16":{"start":{"lineNumber":28,"utf16Col":0},"end":{"lineNumber":36,"utf16Col":0}}},{"name":"Online Video Training","kind":"section_2","identStart":2297,"identEnd":2318,"extentStart":2294,"extentEnd":2548,"fullyQualifiedName":"Online Video Training","identUtf16":{"start":{"lineNumber":36,"utf16Col":3},"end":{"lineNumber":36,"utf16Col":24}},"extentUtf16":{"start":{"lineNumber":36,"utf16Col":0},"end":{"lineNumber":40,"utf16Col":0}}},{"name":"Contributions","kind":"section_2","identStart":2551,"identEnd":2564,"extentStart":2548,"extentEnd":2893,"fullyQualifiedName":"Contributions","identUtf16":{"start":{"lineNumber":40,"utf16Col":3},"end":{"lineNumber":40,"utf16Col":16}},"extentUtf16":{"start":{"lineNumber":40,"utf16Col":0},"end":{"lineNumber":44,"utf16Col":0}}},{"name":"License & Copyright","kind":"section_2","identStart":2896,"identEnd":2915,"extentStart":2893,"extentEnd":3366,"fullyQualifiedName":"License & Copyright","identUtf16":{"start":{"lineNumber":44,"utf16Col":3},"end":{"lineNumber":44,"utf16Col":22}},"extentUtf16":{"start":{"lineNumber":44,"utf16Col":0},"end":{"lineNumber":49,"utf16Col":0}}}]}},"copilotInfo":null,"copilotAccessAllowed":false,"csrf_tokens":{"/getify/You-Dont-Know-JS/branches":{"post":"acXILbmBLjxqtXNS_l8pItwmU13nhZHn7LyAzxfyHzUcduSLTb6O3Soh2lnw8K7_Ofyc_WNFpB59iQbnEEIyYQ"},"/repos/preferences":{"post":"bMks5rtcSrW8t92ZTGsAECvVFGvGxZvIhIQ01KGkelekpz4NTxSmPEG8VGPrifvZqPXyC_TArXRJMoiatac8HA"}}},"title":"You-Dont-Know-JS/README.md at 1st-ed · getify/You-Dont-Know-JS"}