原书:Eloquent JavaScript 3rd edition
译者:飞龙
自豪地采用谷歌翻译
:book: [译] JavaScript 编程精解 中文第三版
Home Page: https://www.gitbook.com/book/wizardforcel/eloquent-js-3e/details
原书:Eloquent JavaScript 3rd edition
译者:飞龙
自豪地采用谷歌翻译
似乎readme.md的链接失效了
第五章 可组合性 第二个代码块前面的那句话:
举个例子,我们编写一段代码,找出数据集中男人和女人的平均年龄。
原文是活着和死亡语言的平均年龄:
As an example, let’s write code that finds the average year of origin for living
and dead scripts in the data set.
位置 :
一、值,类型和运算符
自动类型转换
错误内容 :
"字符串和数字转换为布尔值的规则表明,0,NaN和空字符串("")计为false,而其他所有值都计为true。"
原作中没有这一句 , 而且这句是错的 . NaN == false返回的是false .
Functions as values
A function binding usually simply acts as a name for a specific piece of the program. Such a binding is defined once and never changed. This makes it easy to confuse the function and its name.
But the two are different. A function value can do all the things that other values can do—you can use it in arbitrary expressions, not just call it. It is possible to store a function value in a new binding, pass it as an argument to a function, and so on. Similarly, a binding that holds a function is still just a regular binding and can, if not constant, be assigned a new value, like so:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.