{"id":20743064,"url":"https://github.com/aimingoo/js-green-book-3","last_synced_at":"2025-07-30T08:10:50.772Z","repository":{"id":42177970,"uuid":"262719874","full_name":"aimingoo/js-green-book-3","owner":"aimingoo","description":"本书基于ES6，并涵盖最新的ECMAScript 2019规范，全面讲述JavaScript在五个方面的语言特性，以及将这些特性融会如一的方法。","archived":false,"fork":false,"pushed_at":"2022-04-10T15:15:52.000Z","size":2452,"stargazers_count":126,"open_issues_count":4,"forks_count":16,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-07-22T04:46:25.944Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aimingoo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-05-10T05:36:41.000Z","updated_at":"2025-07-10T02:38:09.000Z","dependencies_parsed_at":"2022-09-22T11:04:24.395Z","dependency_job_id":null,"html_url":"https://github.com/aimingoo/js-green-book-3","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/aimingoo/js-green-book-3","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aimingoo%2Fjs-green-book-3","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aimingoo%2Fjs-green-book-3/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aimingoo%2Fjs-green-book-3/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aimingoo%2Fjs-green-book-3/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aimingoo","download_url":"https://codeload.github.com/aimingoo/js-green-book-3/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aimingoo%2Fjs-green-book-3/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267834811,"owners_count":24151642,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-30T02:00:09.044Z","response_time":70,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-17T07:08:56.957Z","updated_at":"2025-07-30T08:10:50.742Z","avatar_url":"https://github.com/aimingoo.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 绿皮书第三版\n\n所有在《JavaScript语言精髓与编程实践》一书的第三版中的代码的测试用例。\n\nIssues区可以提交问题并发布勘误。\n\n本书的相关信息\n* 京东：https://item.jd.com/12883028.html\n* 当当：http://product.dangdang.com/28558335.html\n* 亚马逊（电子书）：https://www.amazon.cn/dp/B089QJ72CF\n* 豆瓣：https://book.douban.com/subject/35085910/\n\n本书在“开课吧（Web前端会客厅）”的开放视频访谈：\n* 深度剖析JavaScript语言（[1-背景知识与语法设计等](https://www.bilibili.com/video/BV1M5411a7GK)）\n* 深度剖析JavaScript语言（[2-面向对象与结构化程序设计](https://www.bilibili.com/video/BV1MK4y1v7a2)）\n* 深度剖析JavaScript语言（[3-函数式语言与动态语言](https://www.bilibili.com/video/BV16k4y117hE))\n* 深度剖析JavaScript语言（[4-并行程序设计](https://www.bilibili.com/video/BV1sC4y187GW))\n\n极客时间专栏：\n* “JavaScript核心原理解析”：https://time.geekbang.org/column/intro/252\n\n\n[![绿皮书第三版](images/book.png)](https://book.douban.com/subject/35085910/)\n\n# Versions\n\n已测试过的版本包括：\n\n* Node.js v8.x + Mocha v5.2.0^+^\n* Node.js v10.x~12.x + Mocha v6.0.0^+^\n\n\n\nNOTE1：第7章讲述的部分内容需要在Node v10.12之后版本才被支持，因此测试这一部分代码可能需要安装高版本Node.js。\n\nNOTE2：在Node.js v6.x以及以下版本中，需要安装Mocha和fancy-test的不同版本，因此请留意版本的匹配情况。\n\nNOTE3：在Mocha版本不支持的情况下，可以用Node.js直接运行目录中的`*.js`文件。部分情况下，你可能需要运行目录中的`run.sh`，这是简单的bash脚本，在Windows环境下可以参考该文件来运行批处理或命令。\n\n\n\n# Usage\n\n```bash\n\u003e git clone https://github.com/aimingoo/js-green-book-3\n\u003e cd js-green-book-3\n\u003e bash init.sh\n\n# run test\n\u003e cd chapter-2\n\u003e bash ../run.sh\n\n# (OR, 可以使用tap参数来得到简洁风格的报告)\n\u003e cd ..\n\u003e bash run.sh tap\n\n# (OR, 对于某些测试需要使用自己的run.sh)\n\u003e cd chapter-1/s-1.1.2\n\u003e bash run.sh\n\n# (OR，可以在几乎所有的章节中使用mocha)\n\u003e cd chapter-3/s-3.1.1.1\n\u003e mocha\n```\n\n# History\n\n* 2020.05.18 Chapter 5~7 final.\n* 2020.05.10 Initial release, include chapter 1~4.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faimingoo%2Fjs-green-book-3","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faimingoo%2Fjs-green-book-3","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faimingoo%2Fjs-green-book-3/lists"}