A Better Way To Learn JavaScript - Advanced JS
$7.99
Minimum price
$29.99
Suggested price

A Better Way To Learn JavaScript - Advanced JS

Let's tackle some advanced JavaScript concepts.

About the Book

This is the fifth book in this 5-book book series.

About the Author

Ajdin Imsirovic
Ajdin Imsirovic

Ajdin Imsirovic is a full-stack web developer who has published several courses (way back in 2015) on the subject of web design and web development. 

Before self-publishing books on Leanpub, he authored four books on front-end development for Packt Publishing:

  1. Vue CLI 3 Quick Start Guide (Build and maintain Vue.js applications quickly with the standard CLI), May 2019
  2. Vue.js Quick Start Guide (Learn how to build amazing and complex reactive web applications easily using Vue.js), October 2018
  3. Elm Web Development (An introductory guide to building functional web apps using Elm), March 2018
  4. Bootstrap 4 Cookbook (Over 75 recipes to help you build elegant and responsive web applications with Bootstrap 4), June 2017

Additionally, he's published a number of books on the Leanpub platform, specifically:

  1. A Better Way to Learn JavaScript - The Basics: https://bit.ly/abwtljs1
  2. A Better Way to Learn JavaScript - Built-in Objects: https://bit.ly/abwtljs2
  3. A Better Way to Learn JavaScript - Useful Snippets: https://bit.ly/abwtljs3
  4. A Better Way to Learn JavaScript - Mini Apps: https://bit.ly/abwtljs4
  5. A Better Way to Learn JavaScript - Advanced JavaScript: https://bit.ly/abwtljs5
  6. Angular From Scratch: https://bit.ly/ai-afs
  7. Vue.js From Scratch: https://bit.ly/ai-vfs
  8. React from Scratch: https://leanpub.com/react-from-scratch
  9. Building Amazing Layouts - Learn the Basics of HTML5, CSS3, and Bootstrap 5: https://bit.ly/bldamzlyts1
  10. Building Amazing Layouts - Bootstrap 5 Layouts in Depth: https://bit.ly/bldamzlyts2
Ajdin Imsirovic

Episode 208

Bundles that include this book

$149.95
Suggested price
$29.99
Bundle Price

Table of Contents

  • Chapter 0: Introduction
    • Book 1: The Basics
    • Book 2: Built-in Objects
    • Book 3: Useful Snippets
    • Book 4: Building Mini Apps
    • Book 5: Advanced JavaScript
  • Chapter 1: Browser APIs (aka Web APIs)
    • Introduction
    • The available browser APIs list
    • Ambient Light Events
    • Background Tasks
    • Barcode Detection API
    • Battery API
    • Beacon
    • Bluetooth API (experimental)
    • Broadcast Channel API
    • CSS Counter Styles
    • CSS Font Loading API (experimental)
    • CSS Painting API
    • CSS Typed OM API
    • CSSOM (CSS Object Model)
    • Canvas API
    • Channel Messaging
    • Clipboard API
    • Console API
    • Contact Picker API
    • Content Index API
    • Credential Management API
    • DOM
    • Encoding API
    • Encrypted Media Extensions
    • Fetch API
    • File System API
    • File System Access API
    • Frame Timing API (Experimental)
    • Fullscreen API
    • Gamepad API
    • Geolocation API
    • HTML Drag and Drop API
    • HTML Sanitizer API
    • High Resolution Time
    • History API
    • Image Capture API
    • IndexedDB
    • Intersection Observer API
    • Long Tasks API (Experimental)
    • Media Capabilities API
    • Media Capture and Streams
    • Media Session API
    • Media Source Extensions
    • MediaStream Recording
    • Navigation Timing
    • Network Information API
    • Page Visibility API
    • Payment Request API
    • Performance API
    • Performance Timeline API
    • Periodic Background Sync
    • Permissions API
    • Picture-in-Picture API
    • Pointer Events
    • Pointer Lock API
    • Proximity Events (Experimental)
    • Push API (Experimental)
    • Resize Observer API
    • Resource Timing API
    • Screen Capture API
    • Screen Wake Lock API
    • Server Sent Events
    • Service Workers API
    • Storage
    • Storage Access API
    • Streams
    • Touch Events
    • URL API
    • Vibration API
    • Visual Viewport
    • Web Animations
    • Web Audio API
    • Web Authentication API
    • Web Crypto API
    • Web Notifications
    • Web Storage API
    • Web Workers API
    • WebGL
    • WebRTC
    • WebVR API
    • WebVTT
    • WebXR Device API
    • Websockets API
  • Chapter 2: Important browser APIs in more depth
    • Ambient Light Events
    • Background Tasks
    • Barcode detection API
    • Canvas API
    • Clipboard API
    • Console API
    • DOM API
    • Fetch API
    • HTML Drag and Drop API
    • History API
    • IndexedDB API
    • Intersection Observer API
    • Picture-in-picture API
    • Resize Observer API
    • Web Animations API
    • Web Audio API
    • Web GL API
    • WebRTC API
  • Chapter 3: The DOM API in depth
    • 3.1. The DOM is a tree of JS Node Objects
    • 3.2. Node Object Types
    • 3.3 DOM Interfaces
    • 3.4. The Node hierarchy and the Document hierarchy
    • 3.5 The most frequently used methods of the DOM API
    • 3.6 Other interesting DOM snippets
    • 3.7 How DOM extension works
    • 3.8 Extending an HTML element
    • 3.9 The overview of DOM interfaces
  • Chapter 4: Memory, memory management, and garbage collection in JavaScript
    • Memory management
    • Heap and stack in memory allocation
    • Automatic memory allocation in JavaScript: static and dynamic allocation
    • Memory life cycle in JavaScript
    • References in JS
    • The Garbage Collector
    • JavaScript apps often use more memory then they have to
    • Memory Leaks: the usual suspects
    • Finding memory leaks
    • Fixing memory leaks
  • Chapter 5: Design Patterns in JavaScript
    • Characteristics of design patterns
    • The Difference Between Design Patterns and Algorithms
    • Different Kinds of Design Patterns
    • Creational Design Patterns
    • Structural Design Patterns
    • Behavioral Design Patterns
    • Conclusion
  • Chapter 6: Algorithm complexity and Big O notation in JavaScript
    • An algorithm is a recipe
    • Algorithm complexity: space and time
    • Time complexity: a practical example
    • The Big O notation
    • Time complexity of built-in JavaScript methods and expressions
    • An overview of time complexity with examples
    • Practice: Determining time complexity of JavaScript snippets
    • Some common algorithms in JavaScript
  • Chapter 7: Data structures and algorithms in JavaScript
    • The importance of data structures
    • Arrays
    • Linked Lists
    • Stacks
    • Queues and Dequeues
    • Dictionaries and Hashes
    • Sets
    • Trees
    • Graphs
  • Chapter 8: Advanced techniques (memoization, debouncing, throtlling, recursion, etc.)
    • Memoization
    • Debouncing
    • Throtlling
    • Recursion
  • Chapter 9: Advanced JSON
  • Chapter 10: Advanced Functional Programming
  • Chapter 11: Webpack quick start
    • Webpack installation
    • Minimal webpack example
    • Adding minimal possible code to index.js
    • How does webpack bundle modules?
    • Tracking changes to our source code using the watch flag
    • Adding the webpack.config.js file
    • Outputting a web page using webpack
    • Outputting a custom HTML file using html-webpack-plugin
    • Adding another JavaScript module
    • Using a webpack loader to compile SCSS to CSS
    • Using Babel with webpack
    • working with JS proposal syntax
    • code splitting
    • webpack-merge
    • webpack-dev-server
    • webpack source maps
    • hot module replacement
    • webpack-bundle-analyzer
  • Chapter 12: Understanding Babel
  • Chapter 13: Understanding Node.js
    • Installing and setting up
    • Revisiting the Node.js ecosystem
    • Node modules
    • Writing a server
    • Streams, pipes, and stream events
    • Working with the filesystem
    • Introducing express
    • Routing and Middleware
    • Error Handling
    • Writing a simple fullstack JavaScript app
  • Chapter 14: Test-Driven Development
    • What is TDD
    • Automated tests before the code
    • Why TDD?
    • With TDD, it’s more likely that the code that worked yesterday, still works today
    • Different kinds of tests
    • A general overview of writing code the TDD way
    • Unit testing in practice
    • Getting started with Jest
    • Writing our first test
  • Chapter 15: JavaScript Security
  • Chapter 16: RxJS and observables
    • Streams of data
    • Reactive JavaScript
    • What kind of data can come from the observable stream?
    • Subscribing to observables
  • Chapter 17: Clean Code in JavaScript
  • Chapter 18: Workers
    • Two major types of workers
    • Why do we need workers?
    • Worker access limitations
    • The Worker constructor
  • Chapter 19: Progressive Web Apps
  • Chapter 20: Improving our workflows
  • Chapter 21: Chrome Dev Tools

The Leanpub 60-day 100% Happiness Guarantee

Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

See full terms

Do Well. Do Good.

Authors have earned$12,140,268writing, publishing and selling on Leanpub, earning 80% royalties while saving up to 25 million pounds of CO2 and up to 46,000 trees.

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub