Computer ScienceScience & MathematicsEconomics & FinanceBusiness & ManagementPolitics & GovernmentHistoryPhilosophy

You Don't Know JS Yet: Scope and Closures

by Kyle Simpson

You Don't Know JS Yet: Scope and Closures

Subscribe to new books via dBooks.org telegram channel

Join
DescriptionTable of ContentsDetailsHashtagsReport an issue

Book Description

Are you looking for a better way to deeply learn the fundamentals of JavaScript? Look no further!The foundation of all programs is the organization of its variables and functions into different nested scopes. Yet, most developers haven't deeply contemplated how and why these decisions are made and the impacts on code maintainability.The worldwide best selling "You Don't Know JS" book series is back for a 2nd edition: "You Don't Know JS Yet". All 6 books are brand new, rewritten to cover all sides of JS for 2020 and beyond."Scope & Closures" examines all aspects of lexical scope, then builds on these principles to leverage the power of closure, and finally digs into the module pattern for better program structure.

This open book is licensed under a Creative Commons License (CC BY-NC-ND). Free download in PDF format is not available. You can read You Don't Know JS Yet: Scope and Closures book online for free.

Table of Contents

Chapter 1
What's the Scope?
Chapter 2
Illustrating Lexical Scope
Chapter 3
The Scope Chain
Chapter 4
Around the Global Scope
Chapter 5
The (Not So) Secret Lifecycle of Variables
Chapter 6
Limiting Scope Exposure
Chapter 7
Using Closures
Chapter 8
The Module Pattern
Appendix A
Exploring Further
Appendix B
Practice

Book Details

Title
You Don't Know JS Yet: Scope and Closures
Subject
Computer Science
Publisher
Self-publishing
Published
2020
Pages
279
Edition
2
Language
English
ISBN13 Digital
9798621536459
ISBN10 Digital
8621536455
License
CC BY-NC-ND

Related Books

You Don't Know JS Yet: Get Started
It seems like there's never been as much widespread desire before for a better way to deeply learn the fundamentals of JavaScript. But with a million blogs, books, and videos out there, just where do you START? Look no further!The worldwide best selling "You Don't Know JS" book series is back for a 2nd edition: "You Don...
97 Things Every SRE Should Know
Site reliability engineering (SRE) is more relevant than ever. Knowing how to keep systems reliable has become a critical skill. With this practical book, newcomers and old hats alike will explore a broad range of conversations happening in SRE. You'll get actionable advice on several topics, including how to adopt SRE, why SLOs matter, when y...
Indigenous Knowledge and Education in Africa
This book presents a strong philosophical, theoretical and practical argument for the mainstreaming of indigenous knowledge in curricula development, and in teaching and learning across the African continent. Since the dawn of political independence in Africa, there has been an ongoing search for the kind of education that will create a class of pr...
Sonic Skills
It is common for us today to associate the practice of science primarily with the act of seeing—with staring at computer screens, analyzing graphs, and presenting images. We may notice that physicians use stethoscopes to listen for disease, that biologists tune into sound recordings to understand birds, or that engineers have created Geiger telle...
Developing Backbone.js Applications
If you want to build your site's frontend with the single-page application (SPA) model, this hands-on book shows you how to get the job done with Backbone.js. You'll learn how to create structured JavaScript applications, using Backbone's own flavor of model-view-controller (MVC) architecture. Start with the basics of MVC, SPA, an...
2D Game Development: From Zero to Hero
This is a small project that aims to gather some knowledge about game development and make it available to everyone. As well as being a source of knowledge this project aims to be a learning experience for everyone involved too, by gathering contributions from the community, teaching others how to make a game, teaching algorithms but also learni...