You Don't Know JS unravels the complex and often misunderstood intricacies of JavaScript, inviting readers on a deep dive into the language's true capabilities. Each insightful installment challenges common assumptions and reveals the foundational concepts that even seasoned developers overlook. With a conversational tone, the author, Kyle Simpson, transforms abstract theories into relatable ideas, making the seemingly arcane accessible. Prepare to rethink everything you thought you knew about closures, scope, and asynchronous programming. Are you ready to elevate your JavaScript mastery and unlock the full potential of the web?
By Kyle Simpson
Published: 2014
"In JavaScript, the only way to learn is to learn."
No matter how much experience you have with JavaScript, odds are you don’t fully understand the language. This concise yet in-depth guide takes you inside scope and closures, two core concepts you need to know to become a more efficient and effective JavaScript programmer. You’ll learn how and why they work, and how an understanding of closures can be a powerful part of your development skillset. Like other books in the "You Don’t Know JS" series, Scope and Closures dives into trickier parts of the language that many JavaScript programmers simply avoid. Armed with this knowledge, you can achieve true JavaScript mastery. Learn about scope, a set of rules to help JavaScript engines locate variables in your code Go deeper into nested scope, a series of containers for variables and functions Explore function- and block-based scope, “hoisting”, and the patterns and benefits of scope-based hiding Discover how to use closures for synchronous and asynchronous tasks, including the creation of JavaScript libraries
Kyle Simpson is a prominent software engineer, educator, and author known for his expertise in web development and JavaScript. With a passion for teaching, he has created a multitude of resources, including books and online courses, that aim to demystify complex programming concepts. Simpson is the founder of the popular educational platform, "Getify," which offers in-depth training on JavaScript and related technologies. His engaging writing style and hands-on approach have garnered him a dedicated following in the developer community. When he's not coding or teaching, Kyle enjoys exploring new technologies and advocating for best practices in web development.
Key information about the book.
Support local bookstores: BookShop gives a portion of each sale to independent bookshops!
In 'Digital Minimalism', Cal Newport challenges our relationship with technology, advocating for a mindful approach to digital consumption. He presents a philosophy that emphasizes focusing on what truly matters in our lives by decluttering our digital spaces. Through compelling anecdotes and research, Newport unveils the hidden costs of excessive screen time, encouraging readers to reclaim their attention and leisure. This transformative book offers practical strategies for prioritizing meaningful interactions and passions over distractions. Are you ready to disconnect to reconnect with what truly enriches your life?
Clean Code: A Handbook of Agile Software Craftsmanship by Robert C. Martin is a masterclass in writing quality code that stands the test of time. Through a series of practical examples and principles, Martin reveals the art of developing clean, readable, and maintainable code, while emphasizing the moral responsibility of programmers. He challenges readers to confront their coding habits and provides actionable insights to elevate their skills. With an exploration of key concepts like refactoring, testing, and the importance of simplicity, this book becomes an essential guide for anyone who writes software. Dive in and discover how clean code not only enhances productivity but also fosters a culture of excellence in software development!
In "The Pragmatic Programmer," Andrew Hunt and David Thomas unveil the timeless principles and practices that empower developers to master their craft. Through captivating anecdotes and insightful tips, they challenge conventional programming wisdom, urging readers to embrace adaptability and continuous learning. The compelling emphasis on practical techniques, such as code craftsmanship and effective debugging, makes this a must-read for both seasoned pros and new coders. With its blend of philosophy and actionable advice, the book invites you to reflect on your own software development journey. Prepare to elevate your programming skills and become a more versatile developer—your future self will thank you!
In 'Who Says Elephants Can't Dance?', Louis V. Gerstner, the former CEO of IBM, shares his remarkable journey of reviving a colossal corporation on the brink of collapse. With insightful anecdotes and candid reflections, he unveils the bold strategies that transformed IBM into a modern powerhouse. Gerstner emphasizes the importance of embracing change, fostering innovation, and inspiring a culture of accountability. This compelling narrative is not just a corporate tale, but a blueprint for leadership and resilience. Dive into the story of how one man led an 'elephant' to dance again and discover what it takes to orchestrate a successful turnaround!
In 'Built to Last,' Jim Collins and Jerry I. Porras unveil the secrets behind the enduring success of visionary companies. Through thorough research and compelling anecdotes, they identify key characteristics that distinguish these organizations from their competitors. The authors challenge traditional business thinking and reveal how a solid foundation of core values can drive long-term profitability and resilience. Readers are invited to explore how these principles can be applied to both businesses and personal endeavors. Prepare to rethink everything you know about entrepreneurial longevity!
In 'Here Comes Everybody', Clay Shirky explores the revolutionary impact of the internet on group formation and social collaboration. He illustrates how digital tools empower individuals to connect, organize, and mobilize like never before, reshaping the fabric of society. Through captivating examples, Shirky highlights the shift from traditional communication to a new paradigm of collective action. As ordinary people harness the power of the web, the line between creators and consumers blurs, leading to unprecedented possibilities and challenges. Dive into this thought-provoking journey to discover how the digital age transforms our interactions and our world.
In 'Code', Charles Petzold takes readers on a captivating journey through the world of programming and computer science. He unravels the complex tapestry of how computers work, starting from simple concepts and building up to intricate systems. Through engaging anecdotes and metaphors, Petzold demystifies the inner workings of machines, making them accessible to everyone. This exploration not only reveals the beauty of code but also challenges us to think critically about the impact of technology in our lives. Prepare to see the digital world around you in a whole new light!
In 'Hackers & Painters,' Paul Graham explores the fascinating parallels between the worlds of programming and art, highlighting how both disciplines require creativity, vision, and craftsmanship. He delves into the lives of hackers, uncovering the art behind their code and the societal implications of their work. Graham shares insights on the importance of good design in technology and challenges traditional notions of what it means to be a creator. With thought-provoking essays, he invites readers to reconsider the value of their own work in the evolving digital landscape. This book is a compelling call to see technology not just as a tool but as a medium for artistic expression.
Showing 8 of 30 similar books

Elon Musk is an influential entrepreneur and innovator known for founding and leading several groundbreaking companies, including Tesla, SpaceX, Neuralink, and The Boring Company. He has played a pivotal role in advancing electric vehicles, space exploration, and renewable energy. Musk's vision extends to colonizing Mars and reducing the risk of human extinction through space travel. In addition to his technological contributions, he has co-authored the book "Spacex: Making Commercial Spaceflight a Reality," providing insights into his ambitious projects and vision for the future. Musk's relentless pursuit of innovation continues to shape the trajectory of multiple industries.

Drew Houston is an accomplished American entrepreneur best known for co-founding Dropbox, a widely-used cloud storage service, in 2007. As the CEO, he has led the company to serve millions of users worldwide and become a key player in the tech industry. Although not primarily known for literature, Houston has shared his entrepreneurial insights and experiences through various interviews and public speaking engagements, offering valuable lessons to aspiring business leaders. His work has significantly influenced the way people and organizations manage and share digital content. Houston's innovative vision continues to shape the future of cloud computing and digital collaboration.

Claire Diaz-Ortiz is a prominent author, speaker, and technology innovator known for her influential work at Twitter, where she played a key role in promoting the platform's use for social good. She has authored several notable books, including "Twitter for Good" and "Design Your Day," which offer insights into leveraging social media for activism and optimizing personal productivity, respectively. Diaz-Ortiz is also recognized for her contributions to leadership literature, particularly through her co-authored works with Ken Blanchard. She is a sought-after keynote speaker and has been featured in major media outlets for her expertise in technology and social impact. Beyond her writing, she is committed to philanthropic endeavors and mentoring women entrepreneurs globally.

Garry Tan is a prominent entrepreneur and investor, best known for his influential role in the technology and startup ecosystem. Co-founder of Initialized Capital, Tan has played a pivotal role in funding and mentoring numerous successful startups. His contributions to literature primarily include insightful writings on technology, entrepreneurship, and venture capital, which are widely read and respected within the industry. Tan's blog posts and essays offer valuable guidance and have inspired many aspiring entrepreneurs. Additionally, his work at Y Combinator, where he previously served as a partner, further underscores his significant impact on the startup community.

Andy Budd is a renowned author and user experience (UX) designer, best known for his influential work in the field of web design. He co-authored "CSS Mastery: Advanced Web Standards Solutions," which has become a seminal text for web developers worldwide. As a founding partner of the consulting firm Clearleft, Budd has made significant contributions to advancing UX design practices. He is also a sought-after speaker at design conferences and an active advocate for the design community. Through his writing and leadership, Budd continues to shape the future of digital design.

Nassim Nicholas Taleb is a Lebanese-American author, scholar, and risk analyst, best known for his work on uncertainty, probability, and risk. His books, including The Black Swan and Antifragile, explore how rare and unpredictable events shape the world and how individuals and systems can become more resilient to shocks. Taleb’s insights on risk management have influenced fields ranging from finance to medicine, and he is known for his outspoken criticism of conventional wisdom. His ideas about randomness, decision-making, and the limitations of human knowledge have made him a leading thinker in modern economics and philosophy.

David Heinemeier Hansson, also known as DHH, is a Danish programmer, entrepreneur, and author, best known as the creator of Ruby on Rails, a popular web application framework. Heinemeier Hansson is also a partner at Basecamp, a project management and collaboration software company he co-founded. His contributions to software development have earned him widespread recognition, with Ruby on Rails being used by thousands of developers and companies worldwide. Heinemeier Hansson is also a vocal advocate for remote work, simplicity in business, and sustainable work practices, ideas he explores in his bestselling books Rework and It Doesn’t Have to Be Crazy at Work. In addition to his work in tech, he is an accomplished race car driver, having competed in the 24 Hours of Le Mans. Heinemeier Hansson’s approach to work-life balance and entrepreneurship has made him a thought leader in the tech community, where he continues to challenge traditional business practices and advocate for more human-centered approaches to work

Andrew Chen is a venture capitalist, entrepreneur, and thought leader in growth marketing, currently serving as a general partner at Andreessen Horowitz. Chen is known for his expertise in network effects, viral growth strategies, and marketplace dynamics, making him a sought-after advisor for startups looking to scale. Prior to joining Andreessen Horowitz, he worked in leadership roles at Uber, helping to grow the ride-sharing platform’s user base and develop key growth strategies. Chen is also a prolific writer, sharing his insights on growth, technology, and startups through his popular blog and newsletter, which has attracted a loyal following in the tech community. His work has helped shape how many startups approach user acquisition, retention, and product-market fit. As a venture capitalist, Chen focuses on early-stage companies in the consumer internet, SaaS, and marketplace sectors, and he has been involved in funding and advising several successful startups. His insights on technology and growth continue to influence both founders and investors alike.
Showing 8 of 12 related collections
“In JavaScript, the only way to learn is to learn.”
You Don't Know JS
By Kyle Simpson
Discover a world of knowledge through our extensive collection of book summaries.