Log In
Or create an account -> 
Imperial Library
  • Home
  • About
  • News
  • Upload
  • Forum
  • Help
  • Login/SignUp

Index
Simplifying JavaScript
About the Pragmatic Bookshelf Table of Contents Early praise for Simplifying JavaScript Introduction
How To Use This Book Whom This Book Is For Online Resources Acknowledgments
Chapter 1: Signal Intention with Variable Assignment Signal Unchanging Values with const Reduce Scope Conflicts with let and const Isolate Information with Block Scoped Variables Convert Variables to Readable Strings with Template Literals Chapter 2: Manage Data Collections with Arrays Create Flexible Collections with Arrays Check Existence in an Array with Includes() Mold Arrays with the Spread Operator Avoid Push Mutations with the Spread Operator Avoid Sort Confusion with the Spread Operator Chapter 3: Maximize Code Clarity with Special Collections Use Objects for Static Key-Value Lookups Create Objects Without Mutations Using Object.assign() Update Information with Object Spread Update Key-Value Data Clearly with Maps Iterate Over Key-Value Data with Map and the Spread Operator Create Maps Without Side Effects Keep Unique Values with Set Chapter 4: Write Clear Conditionals Shorten Conditionals with Falsy Values Check Data Quickly with the Ternary Operator Maximize Efficiency with Short Circuiting Chapter 5: Simplify Loops Simplify Looping with Arrow Functions Write Shorter Loops with Array Methods Create Arrays of a Similar Size with map() Pull Out Subsets of Data with filter() and find() Apply Consistent Actions with forEach() Combine Methods with Chaining Transform Array Data with reduce() Reduce Loop Clutter with for...in and for...each Chapter 6: Clean Up Parameters and Return Statements Create Default Parameters Access Object Properties with Destructuring Simplify Key-Value Assignment Pass a Variable Number of Arguments with the Rest Operator Chapter 7: Build Flexible Functions Write Functions for Testability Reduce Complexity with Arrow Functions Maintain Single Responsibility Parameters with Partially Applied Functions Combine Currying and Array Methods for Partial Application Prevent Context Confusion with Arrow Functions Chapter 8: Keep Interfaces Clear with Classes Build Readable Classes Share Methods with Inheritance Extend Existing Prototypes with Class Simplify Interfaces with get and set Create Iterable Properties with Generators Resolve Context Problems with Bind() Chapter 9: Access External Data Retrieve Data Asynchronously with Promises Create Clean Functions with Async/Await Make Simple AJAX Calls with Fetch Maintain State Over Time with LocalStorage Chapter 10: Gather Related Files with Component Architecture Isolate Functionality with Import and Export Leverage Community Knowledge with npm Build Applications with Component Architecture Use Build Tools to Combine Components Leverage CSS for Animations Bibliography
You May Be Interested In…
  • ← Prev
  • Back
  • Next →
  • ← Prev
  • Back
  • Next →

Chief Librarian: Las Zenow <zenow@riseup.net>
Fork the source code from gitlab
.

This is a mirror of the Tor onion service:
http://kx5thpx2olielkihfyo4jgjqfb7zx7wxr3sd4xzt26ochei4m6f7tayd.onion