JavaScript for impatient programmers (ES2021 edition)

JavaScript

For Impatient Programmers

ECMAScript 2022 Edition

Dr. Axel Rauschmayer

2

JavaScript for impatient programmers (ES2022 edition)

Dr. Axel Rauschmayer 2022

"An exhaustive resource, yet cuts out the fluff that clutters many programming books ? with explanations that are understandable and to the point, as promised by the title! The quizzes and exercises are a very

useful feature to check and lock in your knowledge. And you can definitely tear through the book fairly quickly, to get up and running in

JavaScript."

-- Pam Selle,

"The best introductory book for modern JavaScript."

-- Tejinder Singh, Senior Software Engineer, IBM

"This is JavaScript. No filler. No frameworks. No third-party libraries. If you want to learn JavaScript, you need this book."

-- Shelley Powers, Software Engineer/Writer

Copyright ? 2022 by Dr. Axel Rauschmayer Cover by Fran Caye

All rights reserved. This book or any portion thereof may not be reproduced or used in any manner whatsoever without the express written permission of the publisher except for the use of brief quotations in a book review or scholarly journal.

ISBN 978-1-09-121009-7



Contents

I Background

9

1 Before you buy the book

11

1.1 About the content . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11

1.2 Previewing and buying this book . . . . . . . . . . . . . . . . . . . . . . 12

1.3 About the author . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12

1.4 Acknowledgements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13

2 FAQ: book and supplementary material

15

2.1 How to read this book . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15

2.2 I own a digital version . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16

2.3 I own the print version . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16

2.4 Notations and conventions . . . . . . . . . . . . . . . . . . . . . . . . . . 17

3 History and evolution of JavaScript

19

3.1 How JavaScript was created . . . . . . . . . . . . . . . . . . . . . . . . . 19

3.2 Standardizing JavaScript . . . . . . . . . . . . . . . . . . . . . . . . . . . 20

3.3 Timeline of ECMAScript versions . . . . . . . . . . . . . . . . . . . . . . 20

3.4 Ecma Technical Committee 39 (TC39) . . . . . . . . . . . . . . . . . . . . 21

3.5 The TC39 process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21

3.6 FAQ: TC39 process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21

3.7 Evolving JavaScript: Don't break the web . . . . . . . . . . . . . . . . . . 23

4 New JavaScript features

25

4.1 New in ECMAScript 2022 . . . . . . . . . . . . . . . . . . . . . . . . . . 25

4.2 New in ECMAScript 2021 . . . . . . . . . . . . . . . . . . . . . . . . . . 26

4.3 New in ECMAScript 2020 . . . . . . . . . . . . . . . . . . . . . . . . . . 27

4.4 New in ECMAScript 2019 . . . . . . . . . . . . . . . . . . . . . . . . . . 28

4.5 New in ECMAScript 2018 . . . . . . . . . . . . . . . . . . . . . . . . . . 28

4.6 New in ECMAScript 2017 . . . . . . . . . . . . . . . . . . . . . . . . . . 30

4.7 New in ECMAScript 2016 . . . . . . . . . . . . . . . . . . . . . . . . . . 30

4.8 Source of this chapter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30

5 FAQ: JavaScript

31

5.1 What are good references for JavaScript? . . . . . . . . . . . . . . . . . . 31

5.2 How do I find out what JavaScript features are supported where? . . . . 31

5.3 Where can I look up what features are planned for JavaScript? . . . . . . 32

3

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download