How JavaScript Works Год издания: 2023 Автор: Simpson J. Издательство: Apress ISBN: 978-1-4842-9738-4 Язык: Английский Формат: PDF/ePub Качество: Издательский макет или текст (eBook) Интерактивное оглавление: Да Количество страниц: 330 Описание: JavaScript is a complicated language with a lot of misinformation surrounding how it works. This book provides a comprehensive introduction to JavaScript, from how it works at a technical level to how it is used to create websites and applications. Everything you need to know to start a career in JavaScript development is covered here. How JavaScript Works begins with a practical introduction of the basics before moving into the technical underpinnings of JavaScript, detailing everything you need to know, including variables, memory storage, functions, classes, types, maps, sets and APIs. Once you’ve fully absorbed these key topics. author Jonathan Simpson will show you how to put them into practice, demonstrating how they are employed for modern web development. You’ll learn how to use JavaScript with HTML and CSS to construct web pages and applications, how to change CSS with JavaScript , and how to utilize Fetch and asynchronous operations. Upon completing this book, you will have the foundational knowledge necessary to continue your journey to becoming a professional JavaScript developer. JavaScript is one of the most used programming languages in the world. When JavaScript was first created, it was a useful tool for adding interactivity to web pages. Since then, it has evolved to power back-end servers, massive front-end web applications, and even iPhone and Android applications via tools like Electron and Tauri. While JavaScript has matured as a language its complexity seems to have increased. What started as simple scripts inside HTML tags now seems to involve compile steps via JavaScript and frameworks like React, Vue.js, or Svelte. For those getting started in JavaScript , it can be overwhelming, even though these tools are just an additional level of abstraction which ultimately compiles down into vanilla JavaScript. In this book, we’ll learn how works from the bottom up, which will prepare you for everything web development and JavaScript-led app development can throw at you. We’ll also explain some of the quirks you’ll find in JavaScript and how many of them have come to be due to JavaScript’s long and varied history. After that, we’ll cover JavaScript’s unique approach to inheritance before moving into more complicated topics like memory management, classes, APIs, and web workers. We’ll explore how the weakly typed system JavaScript employs has both benefits and downsides. As a fundamental part of the web stack, and with more people using it every day, there has never been a better time to learn JavaScript. This book will guide you through everything you need to know, so that you can master modern web app development. What You Will Learn: - Gain insight into the technical essentials of JavaScript and how it works - Learn advanced concepts and such as memory storage and how classes, functions and objects actually work - Explore the basic mathematical underpinnings of JavaScript - Understand how JavaScript is used to manipulate HTML and CSS - Obtain the tools and knowledge needed to start your career in web development
Примеры страниц
Оглавление
About the Author xi About the Technical Reviewer xiii Introduction xv Chapter 1: Introduction to JavaScript 1 Chapter 2: Code Structure and Logical Statements 15 Chapter 3: Introduction to Objects, Arrays 43 Chapter 4: Loops and Iterables 69 Chapter 5: References, Values, and Memory Management 87 Chapter 6: Functions and Classes 99 Chapter 7: Types 131 Chapter 8: Manipulating and Interacting with HTML 159 Chapter 9: Maps and Sets 205 Chapter 10: Fetching Data, APIs, and Promises 223 Chapter 11: Introduction to Web APIs 259 Chapter 12: Errors and the Console 269 Chapter 13: The Canvas 285 Chapter 14: Web Workers and Multithreading 307 Index 315
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum