• Stars
    star
    126
  • Rank 283,138 (Top 6 %)
  • Language
    JavaScript
  • Created over 4 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

本书基于ES6,并涵盖最新的ECMAScript 2019规范,全面讲述JavaScript在五个方面的语言特性,以及将这些特性融会如一的方法。

绿皮书第三版

所有在《JavaScript语言精髓与编程实践》一书的第三版中的代码的测试用例。

Issues区可以提交问题并发布勘误。

本书的相关信息

本书在“开课吧(Web前端会客厅)”的开放视频访谈:

极客时间专栏:

绿皮书第三版

Versions

已测试过的版本包括:

  • Node.js v8.x + Mocha v5.2.0^+^
  • Node.js v10.x~12.x + Mocha v6.0.0^+^

NOTE1:第7章讲述的部分内容需要在Node v10.12之后版本才被支持,因此测试这一部分代码可能需要安装高版本Node.js。

NOTE2:在Node.js v6.x以及以下版本中,需要安装Mocha和fancy-test的不同版本,因此请留意版本的匹配情况。

NOTE3:在Mocha版本不支持的情况下,可以用Node.js直接运行目录中的*.js文件。部分情况下,你可能需要运行目录中的run.sh,这是简单的bash脚本,在Windows环境下可以参考该文件来运行批处理或命令。

Usage

> git clone https://github.com/aimingoo/js-green-book-3
> cd js-green-book-3
> bash init.sh

# run test
> cd chapter-2
> bash ../run.sh

# (OR, 可以使用tap参数来得到简洁风格的报告)
> cd ..
> bash run.sh tap

# (OR, 对于某些测试需要使用自己的run.sh)
> cd chapter-1/s-1.1.2
> bash run.sh

# (OR,可以在几乎所有的章节中使用mocha)
> cd chapter-3/s-3.1.1.1
> mocha

History

  • 2020.05.18 Chapter 5~7 final.
  • 2020.05.10 Initial release, include chapter 1~4.

More Repositories

1

my-ebooks

下载与收藏一些我已发布的电子书或编目过的文章
487
star
2

ngx_cc

a framework of Nginx Communication Cluster. reliable dispatch/translation messages in nginx nodes and processes.
Lua
64
star
3

metameta

Metameta is meta core and meta-class programming framework.
JavaScript
40
star
4

continuer

continue sequence of functions, is very lightweight and powerful function queue for javascript (NodeJS and ...)
JavaScript
37
star
5

Promise

Promise module in Lua, ES6 Promises full supported.
Lua
19
star
6

monster

Full or incremental static site generator for Ghost.
Shell
12
star
7

n4c

N4C is a Controllable & Computable Communication Cluster architecture.
12
star
8

prepack-core

The core is interpreter base ECMAScript 2016.
JavaScript
12
star
9

ngx_4c

n4c programming architecture, the Controllable, Computable and Communication Cluster in nginx.
Lua
9
star
10

private-property

The proposal is to replace the highly controversial old proposal "proposal-class-fields".
JavaScript
5
star
11

intersect

A CORS proxy,API gateway or tunnel, for github oauth, etc.
PHP
5
star
12

aimingoo.github.io

HTML
4
star
13

svg-provider

Svg convert provider, a utility and/or for ImageMagick delegate(internal).
Shell
4
star
14

gitmint

A mint on Gitment.
JavaScript
4
star
15

qomo

Qomo OpenProject is a True OOP framework(with namespace,AOP,ajax,templet...) and UI Library base Web Borowser.
JavaScript
4
star
16

qobean

The QoBean is mini version for Qomo(https://github.com/aimingoo/qomo), it's cool.
JavaScript
3
star
17

ngx_tasks

Tasks management module for lua in nginx
Lua
3
star
18

njsa

AStore In NodeJS. The astore is Avro Data Store based on Akka.
JavaScript
2
star
19

js-core-principles

在《JavaScript核心原理:规范、逻辑与设计》一书中的示例项目与代码。
JavaScript
1
star
20

Events

Multi-cast events in Lua, very Simple and Fast.
Lua
1
star
21

njsc

Chana In NodeJS. The Chana is Avro Data Store based on Akka.
JavaScript
1
star
22

redpoll

Parallel Exchangeable Distribution Task for NodeJS.
JavaScript
1
star
23

harpseal

Parallel Exchangeable Distribution Task for Lua.
Lua
1
star