وبلاگ بلیان

Javascript.info Ebook Part 1 The JavaScript language

معرفی کتاب «Javascript.info Ebook Part 1 The JavaScript language» نوشتهٔ Shisi، Molly Rabbitt، Xiao و Ilya Kantor, javascript.info، منتشرشده توسط نشر 1 در سال 2019. این کتاب در فرمت pdf، زبان انگلیسی ارائه شده است.

An Introduction to JavaScript......Page 5 Manuals and specifications......Page 8 Code editors......Page 9 Developer console......Page 11 Hello, world!......Page 13 Code structure......Page 16 The modern mode, "use strict"......Page 20 Variables......Page 22 Data types......Page 30 Type Conversions......Page 36 Operators......Page 40 Comparisons......Page 50 Interaction: alert, prompt, confirm......Page 55 Conditional operators: if, '?'......Page 57 Logical operators......Page 64 Loops: while and for......Page 72 The "switch" statement......Page 82 Functions......Page 86 Function expressions and arrows......Page 97 JavaScript specials......Page 107 Debugging in Chrome......Page 112 Coding Style......Page 118 Comments......Page 18 Ninja code......Page 129 Automated testing with mocha......Page 134 Polyfills......Page 146 Objects......Page 147 Garbage collection......Page 164 Symbol type......Page 171 Object methods, "this"......Page 177 Object to primitive conversion......Page 186 Constructor, operator "new"......Page 191 Methods of primitives......Page 197 Numbers......Page 201 Strings......Page 212 Arrays......Page 227 Array methods......Page 239 Iterables......Page 258 Map, Set, WeakMap and WeakSet......Page 264 Object.keys, values, entries......Page 276 Destructuring assignment......Page 280 Date and time......Page 291 JSON methods, toJSON......Page 302 Recursion and stack......Page 313 Rest parameters and spread operator......Page 327 Closure......Page 332 The old "var"......Page 350 Global object......Page 353 Function object, NFE......Page 355 The "new Function" syntax......Page 363 Scheduling: setTimeout and setInterval......Page 365 Decorators and forwarding, call/apply......Page 373 Function binding......Page 385 Currying and partials......Page 390 Arrow functions revisited......Page 104 Object properties configuration......Page 399 Property flags and descriptors......Page 400 Property getters and setters......Page 405 Prototypal inheritance......Page 410 F.prototype......Page 420 Native prototypes......Page 425 Prototype methods, objects without __proto__......Page 431 Class basic syntax......Page 437 Class inheritance......Page 444 Static properties and methods......Page 457 Private and protected properties and methods......Page 461 Extending built-in classes......Page 468 Class checking: "instanceof"......Page 471 Mixins......Page 476 Error handling, "try..catch"......Page 480 Custom errors, extending Error......Page 494 Introduction: callbacks......Page 501 Promise......Page 507 Promises chaining......Page 515 Error handling with promises......Page 524 Promise API......Page 530 Promisification......Page 536 Microtasks......Page 539 Async/await......Page 541 Generators......Page 549 Async iterators and generators......Page 560 Modules, introduction......Page 567 Export and Import......Page 574 Dynamic imports......Page 583 Proxy and Reflect......Page 585 Eval: run a code string......Page 604
دانلود کتاب Javascript.info Ebook Part 1 The JavaScript language