Book description
This is an exciting time to learn JavaScript. Now that the latest JavaScript specification—ECMAScript 6.0 (ES6)—has been finalized, learning how to develop high-quality applications with this language is easier and more satisfying than ever. This practical book takes programmers (amateurs and pros alike) on a no-nonsense tour of ES6, along with some related tools and techniques.
Author Ethan Brown (Web Development with Node and Express) not only guides you through simple and straightforward topics (variables, control flow, arrays), but also covers complex concepts such as functional and asynchronous programming. You’ll learn how to create powerful and responsive web applications on the client, or with Node.js on the server.
- Use ES6 today and transcompile code to portable ES5
- Translate data into a format that JavaScript can use
- Understand the basic usage and mechanics of JavaScript functions
- Explore objects and object-oriented programming
- Tackle new concepts such as iterators, generators, and proxies
- Grasp the complexities of asynchronous programming
- Work with the Document Object Model for browser-based apps
- Learn Node.js fundamentals for developing server-side applications
Publisher resources
Table of contents
- Preface
- 1. Your First Application
- 2. JavaScript Development
-
3. Literals, Variables, Constants, and Data Types
- Variables and Constants
- Variables or Constants: Which to Use?
- Identifier Names
- Literals
- Primitive Types and Objects
- Numbers
- Strings
- Special Characters
- Booleans
- Symbols
- null and undefined
- Objects
- Number, String, and Boolean Objects
- Arrays
- Trailing Commas in Objects and Arrays
- Dates
- Regular Expressions
- Maps and Sets
- Data Type Conversion
- Conclusion
- 4. Control Flow
- 5. Expressions and Operators
- 6. Functions
- 7. Scope
- 8. Arrays and Array Processing
- 9. Objects and Object-Oriented Programming
- 10. Maps and Sets
- 11. Exceptions and Error Handling
- 12. Iterators and Generators
- 13. Functions and the Power of Abstract Thinking
- 14. Asynchronous Programming
- 15. Date and Time
- 16. Math
-
17. Regular Expressions
- Substring Matching and Replacing
- Constructing Regular Expressions
- Searching with Regular Expressions
- Replacing with Regular Expressions
- Input Consumption
- Alternation
- Matching HTML
- Character Sets
- Named Character Sets
- Repetition
- The Period Metacharacter and Escaping
- Grouping
- Lazy Matches, Greedy Matches
- Backreferences
- Replacing Groups
- Function Replacements
- Anchoring
- Word Boundary Matching
- Lookaheads
- Constructing Regexes Dynamically
- Conclusion
- 18. JavaScript in the Browser
- 19. Node
- 20. Object Property Configuration and Proxies
- 21. Additional Resources
- A. The Terminal
- B. Version Control with Git
- C. Reserved Words
- D. Operator Precedence
- Index
Product information
- Title: Learning JavaScript, 3rd Edition
- Author(s):
- Release date: February 2016
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781491914915
You might also like
video
Learn JavaScript
4+ Hours of Video Instruction JavaScript started as a basic language for performing simple computations on …
book
JavaScript: The Definitive Guide, 7th Edition
JavaScript is the programming language of the web and is used by more software developers today …
book
JavaScript from Beginner to Professional
Start your journey towards becoming a JavaScript developer with the help of more than 100 fun …
video
Modern JavaScript from the Beginning - Second Edition
This course is a comprehensive introduction to JavaScript, covering everything from the basics of variables, data …