Professional JavaScript for Web Developers, 4th Edition

本网站不提供下载链接,喜欢看书的朋友请关注公众号:【lennylee的碎碎念】(lennyleede),首页回复:授人以渔,自动获取搜索资源的方法。

内容简介:

Update your skill set for ES 6 and 7 with the ultimate JavaScript guide for pros

Professional JavaScript for Web Developers is the essential guide to next-level JavaScript development. Written for intermediate-to-advanced programmers, this book jumps right into the technical details to help you clean up your code and become a more sophisticated JavaScript developer. From JavaScript-specific object-oriented programming and inheritance, to combining JavaScript with HTML and other markup languages, expert instruction walks you through the fundamentals and beyond. This new fourth edition has been updated to cover ECMAScript 6 and 7 (also known as ES2015 and ES2016) and the major re-imagination and departure from ES 5.1; new frameworks and libraries, new techniques, new testing tools, and more are explained in detail for the professional developer, with a practical focus that helps you put your new skills to work on real-world projects.

The latest—and most dramatic—ES release is already being incorporated into JavaScript engines in major browsers; this, coupled with the rise in mobile web traffic increasing demand for responsive, dynamic web design, means that all web developers need to update their skills—and this book is your ideal resource for quick, relevant guidance.

● Get up to date with ECMAScript 6 and 7, new frameworks, and new libraries

● Delve into web animation, emerging APIs, and build systems

● Test more effectively with mocks, unit tests, functional tests, and other tools

● Plan your builds for future ES releases

Even if you think you know JavaScript, new ES releases bring big changes that will affect the way you work. For a professional-level update that doesn’t waste time on coding fundamentals, Professional JavaScript for Web Developers is the ultimate resource to bring you up to speed.

作者简介:

Matt Frisbie has a BS in Computer Engineering from the University of Illinois Urbana-Champaign. He is the author of Angular 2 Cookbook and AngularJS Web Application Development Cookbook, as well as a number of video series for O’Reilly. Matt is actively involved in the JavaScript community, giving talks at meetups and doing open webcasts. He works as a software engineer at Google.

原文摘录:

最常见方式,就是组合使用构造函数模式与原型模式,其中构造函数模式用于定义实例属性,而原型模式用于定义方法和共享的属性。结果,每个实例都会有自己的一份实例属性的副本,但又同时共享着对方法的引用,最大限度地节省了内存。另外,这种混成模式还支持向构造函数传递参数……下面的代码重写了前面的例子。可以说,这是用来定义引用类型的一种默认模式 (查看原文)

Jason Lee
3赞
2013-08-26 22:30:35

—— 引自第159页

按位非操作符由一个波浪线(~)表示,执行按位非的结果就是返回数值的反码。按位非是 ECMAScript 操作符中少数几个与二进制计算有关的操作符之一。 (查看原文)

Yan
6赞
2011-02-14 11:13:57

—— 引自第35页