Share E-Book
Scan to open this page

Scan with your phone to open this page

Author: Ethan Brown

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 ES5Translate data into a format that JavaScript can useUnderstand the basic usage and mechanics of JavaScript functionsExplore objects and object-oriented programmingTackle new concepts such as iterators, generators, and proxiesGrasp the complexities of asynchronous programmingWork with the Document Object Model for browser-based appsLearn Node.js fundamentals for developing server-side applications"

AI Reading Assistant

Whole-book reading guide from stratified index samples; jump to passages in the text

Brief outline
【One-Line Pitch】 This is an exciting time to learn JavaScript. Now that the latest JavaScript specification ECMAScript 6.0 (ES6) has b… 【Book Arc】 - **Opening (~0%–12%)**: 书名: Learning JavaScript (Ethan Brown) (Z-Library) 作者: Ethan Brown This is an exciting time to learn JavaScript.; 227 Formatting Numbers 227 Fixed Decimals 228 Exponential Notation 228 Fixed Precision 228 - **Early (~12%–35%)**: The last major ECMAScript version was 5.1 (generically referred to as ES5), pub‐ lished in June 2011.; However, not every developer will have the luxury of writing ES6 today. - **Middle (~35%–65%)**: you don’t want in Git, add them to your .gitignore file.; // '30' is converted to a number; - **Late (~65%–88%)**: Programming is hard enough: do yourself a favor, and avoid the problematic abstract equality operator.; all elements past that are discarded. - **Ending (~88%–100%)**: // returns object { id: 5, name: "Judith" } arr.find(o o.id 2);; const longWords words.reduce((a, w) w.length 6 ? 【Key Takeaways】 - **书名: Learning JavaScrip…** (Opening): 书名: Learning JavaScript (Ethan Brown) (Z-Library) 作者: Ethan Brown This is an exciting time to learn JavaScript. - **227 Formatting Numbers…** (Opening): 227 Formatting Numbers 227 Fixed Decimals 228 Exponential Notation 228 Fixed Precision 228 - **228 Different Bases 22…** (Opening): 228 Different Bases 229 Advanced Number Formatting 229 Constants 229 Algebraic Functions 230 Expo… - **The last major ECMAScr…** (Early): The last major ECMAScript version was 5.1 (generically referred to as ES5), pub‐ lished in June 2011. - **However** (Early): However, not every developer will have the luxury of writing ES6 today. - **This may cause some tr…** (Early): This may cause some trouble for beginning pro‐ grammers, but understanding the way code fits together is impor‐ tant, and can’t be avoided. 【Reading Tips】 - Use Passage locations below to jump into the text and set reading anchors - If this is a brief outline, click Regenerate (top right) for a synthesized guide 【Coverage Limits】 Compressed outline without the model (~33 index chunks). Full structured guide needs AI available.
Excerpt 1
2 A Comment on Comments 4 Getting Started 5 The JavaScript Console 7 jQuery 8 Drawing Graphics Primitive 9 Automating Repetitive Tasks 11 Handling User Input...
View in text
Page 19
ES6 represents the future of JavaScript development, and by investing your time in learning it now, you will be prepared for the future, with trans‐ compiler...
View in text
Excerpt 3
# npm debugging logs npm-debug.log* # project dependencies node_modules # OSX folder attributes .DS_Store # temporary files *.tmp If there are any other “jun...
View in text
Excerpt 4
e already noticed that in these code samples, when the con‐ tent of objects and arrays spans multiple lines, there is a trailing (or dangling or termi‐ nal)...
View in text
Excerpt 5
sn’t care how much whitespace you use, so it’s quite common to put the break (or return) on the same line to make switch statements more compact: switch(tota...
View in text
Excerpt 6
is that assigning a value to x inside the function doesn’t affect the variable x that’s outside the function; that’s because they’re two distinct enti‐ ties...
View in text
Excerpt 7
irst element it finds that is strictly equal to what you’re looking for (there is a corresponding lastIndexOf that searches in the other direc‐ tion, and ret...
View in text
Excerpt 8
—not on the prototype, which can lead to confusion and bugs. If you need instances to have initial data values, it’s better to set them in the constructor. N...
View in text
Tags
AI categories
JavaScript
ISBN: 1491914912
Publisher: O’Reilly Media
Publish Year: 2016
Language: English
Pages: 348
File Format: PDF
File Size: 4.7 MB
Text Preview (First 20 pages)
Registered users can read the full content for free

Register as a Gaohf Library member to read the complete e-book online for free and enjoy a better reading experience.

Generating text preview…