News for hackers. Stuff that matters.
Re:Eloquent JavaScript 4th edition (2024) by llmzero on Thursday March 07, 2024 @10:02AM (#39629922)
What's new in this edition?
Re:Eloquent JavaScript 4th edition (2024) by llimllib on Thursday March 07, 2024 @11:13AM (#39630788)
you can see the differences on github: https://github.com/marijnh/Eloquent-JavaScript/compare/3rd_e...

From a quick browse:

- # for private properties

- ESM imports in node

- hasOwnProperty -> hasOwn (TIL: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...)

- Math.pow -> **

- coverage of `function*` generators (https://eloquentjavascript.net/11_async.html#h-o+cFzGGhnz)

Re:Eloquent JavaScript 4th edition (2024) by begueradj on Thursday March 07, 2024 @10:21AM (#39630162)
It should be mentioned in the "Introduction" but it seems your question is not covered there.
Re:Eloquent JavaScript 4th edition (2024) by e12e on Thursday March 07, 2024 @11:07AM (#39630721)
Could've used better commit messages, but:

https://github.com/marijnh/Eloquent-JavaScript/compare/3rd_e...

Re:Eloquent JavaScript 4th edition (2024) by bewuethr on Thursday March 07, 2024 @12:52PM (#39632157)
Here's a diff without the first commit that changed all linebreaks: https://github.com/marijnh/Eloquent-JavaScript/compare/d8290...