@@ -298,12 +298,12 @@ console.log(sum(range(1, 10)));
298298
299299{{index readability}}
300300
301- The moral of this story is that the same program can
302- be expressed in long and short, unreadable and readable ways. The
303- first version of the program was extremely obscure, whereas this last
304- one is almost English: ` log ` the ` sum ` of the ` range ` of numbers from
305- 1 to 10. (We will see in [ later chapters] ( 04_data.html# data) how to
306- build operations like ` sum ` and ` range ` .)
301+ The moral of this story is that the same program can be expressed in
302+ long and short, unreadable and readable ways. The first version of the
303+ program was extremely obscure, whereas this last one is almost
304+ English: ` log ` the ` sum ` of the ` range ` of numbers from 1 to 10. (We
305+ will see in [ later chapters] ( data ) how to build operations like ` sum `
306+ and ` range ` .)
307307
308308{{index [ "programming language", "power of"] , composability}}
309309
@@ -372,7 +372,7 @@ them out to you.
372372This flexibility also
373373has its advantages, though. It leaves space for a lot of techniques
374374that are impossible in more rigid languages, and as you will see (for
375- example in [ Chapter 10 ] ( 10_modules.html #modules) ) it
375+ example in [ Chapter ? ] ( modules #modules) ) it
376376can be used to overcome some of JavaScript's shortcomings. After
377377((learning)) the language properly and working with it for a while, I have
378378learned to actually _ like_ JavaScript.
@@ -399,7 +399,7 @@ Web browsers are not the only platforms on
399399which JavaScript is used. Some databases, such as MongoDB and CouchDB,
400400use JavaScript as their scripting and query language. Several
401401platforms for desktop and server programming, most notably the
402- ((Node.js)) project (the subject of [ Chapter 20 ] ( 20_node.html# node) ) are providing a powerful environment for programming JavaScript
402+ ((Node.js)) project (the subject of [ Chapter ? ] ( node ) ) are providing a powerful environment for programming JavaScript
403403outside of the browser.
404404
405405## Code, and what to do with it
@@ -468,50 +468,47 @@ JavaScript in.
468468
469469Throughout the book, there are five _ project chapters_ , which describe
470470larger example programs to give you a taste of real programming. In
471- order of appearance, we will work through building an
472- [ artificial life simulation] ( 07_elife.html#elife ) , a
473- [ programming language] ( 11_language.html#language ) , a
474- [ platform game] ( 15_game.html#game ) , a
475- [ paint program] ( 19_paint.html#paint ) , and a
476- [ dynamic website] ( 21_skillsharing.html#skillsharing ) .
471+ order of appearance, we will work through building a [ robot] ( robot ) , a
472+ [ programming language] ( language ) , a [ platform game] ( game ) , a [ paint
473+ program] ( paint ) , and a [ dynamic website] ( skillsharing ) .
477474
478475The language part of the book starts with four chapters to introduce
479476the basic structure of the JavaScript language. They introduce
480- [ control structures] ( 02_program_structure.html# program_structure)
477+ [ control structures] ( program_structure )
481478(such as the ` while ` word you saw in this introduction),
482- [ functions] ( 03_functions.html# functions) (writing your own
483- operations), and [ data structures] ( 04_data.html# data) . After these,
479+ [ functions] ( functions ) (writing your own
480+ operations), and [ data structures] ( data ) . After these,
484481you will be able to write simple programs. Next, Chapters
485- [ 5] ( 05_higher_order.html# higher_order) and
486- [ 6] ( 06_object.html# object) introduce techniques to use functions
482+ [ 5] ( higher_order ) and
483+ [ 6] ( object ) introduce techniques to use functions
487484and objects to write more _ abstract_ code and thus keep complexity
488485under control.
489486
490- After a [ first project chapter] ( 07_elife.html#elife ) , the first
487+ After a [ first project chapter] ( robot ) , the first
491488part of the book continues with chapters on
492- [ error handling and fixing] ( 08_error.html# error) , on
493- [ regular expressions] ( 09_regexp.html# regexp) (an important tool for
489+ [ error handling and fixing] ( error ) , on
490+ [ regular expressions] ( regexp ) (an important tool for
494491working with text data), and on
495- [ modularity] ( 10_modules.html# modules) —another weapon against
496- complexity. The [ second project chapter] ( 11_language.html# language)
492+ [ modularity] ( modules ) —another weapon against
493+ complexity. The [ second project chapter] ( language )
497494concludes the first part of the book.
498495
499- The second part, Chapters [ 12 ] ( 12_browser.html# browser) to
500- [ 19 ] ( 19_paint.html# paint) , describes the tools that browser
496+ The second part, Chapters [ ? ] ( browser ) to
497+ [ ? ] ( paint ) , describes the tools that browser
501498JavaScript has access to. You'll learn to display things on the screen
502- (Chapters [ 13 ] ( 13_dom.html# dom) and
503- [ 16 ] ( 16_canvas.html# canvas) ), respond to user input (Chapters
504- [ 14 ] ( 14_event.html# event) and [ 18 ] ( 18_forms.html# forms) ), and
505- communicate over the network ([ Chapter 17 ] ( 17_http.html# http) ).
499+ (Chapters [ ? ] ( dom ) and
500+ [ ? ] ( canvas ) ), respond to user input (Chapters
501+ [ ? ] ( event ) and [ ? ] ( forms ) ), and
502+ communicate over the network ([ Chapter ? ] ( http ) ).
506503There are again two project chapters in this part.
507504
508- After that, [ Chapter 20 ] ( 20_node.html# node) describes Node.js, and
509- [ Chapter 21 ] ( 21_skillsharing.html# skillsharing) builds a simple web
505+ After that, [ Chapter ? ] ( node ) describes Node.js, and
506+ [ Chapter ? ] ( skillsharing ) builds a simple web
510507system using that tool.
511508
512509{{if commercial
513510
514- Finally, [ Chapter 22 ] ( 22_fast.html# fast) describes some of the
511+ Finally, [ Chapter ? ] ( fast ) describes some of the
515512considerations that come up when optimizing JavaScript programs for
516513speed.
517514
0 commit comments