# What JS book to read?

**URL:** <https://forum.freecodecamp.org/t/what-js-book-to-read/182875>\
**Category:** General\
**Created:** [April 1, 2018, 3:51am UTC](https://forum.freecodecamp.org/t/what-js-book-to-read/182875 "2018-04-01T03:51:24Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lartwel](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/lartwel/32/118104_2.png) [@Lartwel](https://forum.freecodecamp.org/u/Lartwel)\
**Post date:** [April 1, 2018, 3:51am UTC](https://forum.freecodecamp.org/t/what-js-book-to-read/182875/1 "2018-04-01T03:51:24Z")

</div>

I would like to read a book that explains JS in details as I want to know what’s being done under the hood while compiling JS. I am kinda good at Functional JavaScript though.

I am not an English native so reading a book might take a long time with me so I’d prefer choosing a good one.

I’ve found these books and I am not sure of which one to start with:

- Head First JavaScript
- Eloquent JavaScript
- You Don’t Know JS Series

---

<div class="post-metadata">

**Author:** ![owel](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/owel/32/48425_2.png) [@owel](https://forum.freecodecamp.org/u/owel)\
**Post date:** [April 1, 2018, 4:27am UTC](https://forum.freecodecamp.org/t/what-js-book-to-read/182875/2 "2018-04-01T04:27:16Z")

</div>

Your question is confusing.

> [@Lartwel](#):
>
> I want to know what’s being done under the hood while compiling JS.

None of the books you listed deal with the above topic.

But here’s the source code

> **[GitHub - v8/v8: The official mirror of the V8 Git repository](https://github.com/v8/v8)**
>
> The official mirror of the V8 Git repository. Contribute to v8/v8 development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![ivanyapeter](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ivanyapeter/32/83600_2.png) [@ivanyapeter](https://forum.freecodecamp.org/u/ivanyapeter)\
**Post date:** [April 1, 2018, 10:09am UTC](https://forum.freecodecamp.org/t/what-js-book-to-read/182875/3 "2018-04-01T10:09:33Z")

</div>

Drilling down on how JS engine (compiler) process your code is one way to learn JS, might be the longest way but if that’s what your brain demanded, you shall go down the rabbit hole 😄

Most books will focus on practical point of view like how to use JS to create something, breaking down each part and explain how to use it. Mostly not explaining in detail how everything works under the hood.

YDKJS have something on Scope and explain what compiler does in context of scoping, you might want to learn compiler processes with that chunk instead of all at once. This will require you to find every feature JS has, learn it, see how it works with other features if there are overlap.

If that’s what you are curious about right now, go for it.

Here are 2 videos I found helpful regarding this matter:

1. Event Loop [https://youtu.be/8aGhZQkoFbQ](https://youtu.be/8aGhZQkoFbQ)
2. JS Engine [https://youtu.be/p-iiEDtpy6I](https://youtu.be/p-iiEDtpy6I)

Have fun! 😂

---

<div class="post-metadata">

**Author:** ![Lartwel](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/lartwel/32/118104_2.png) [@Lartwel](https://forum.freecodecamp.org/u/Lartwel)\
**Post date:** [April 1, 2018, 1:37pm UTC](https://forum.freecodecamp.org/t/what-js-book-to-read/182875/4 "2018-04-01T13:37:55Z")

</div>

Thank you @owel and @ivanyapeter.

I am sorry I think that I’ve explained it in a wrong way 😄  
I think that drilling down JS engine is a further step and there are other stuff to learn before.

The books I mentioned have a lot of information that I don’t know and I would like to learn them and it’s somehow confusing to judge what’s the best of them to read.

---

<div class="post-metadata">

**Author:** ![frenata](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/frenata/32/76576_2.png) [@frenata](https://forum.freecodecamp.org/u/frenata)\
**Post date:** [April 1, 2018, 2:41pm UTC](https://forum.freecodecamp.org/t/what-js-book-to-read/182875/5 "2018-04-01T14:41:48Z")

</div>

@Lartwel YDKJS is the most “in the weeds” of the three you’ve mentioned. IMO it’s effectively targeted at intermediate+ practitioners, so it’s the correct choice.

---

<div class="post-metadata">

**Author:** ![Lartwel](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/lartwel/32/118104_2.png) [@Lartwel](https://forum.freecodecamp.org/u/Lartwel)\
**Post date:** [April 1, 2018, 5:42pm UTC](https://forum.freecodecamp.org/t/what-js-book-to-read/182875/6 "2018-04-01T17:42:13Z")

</div>

Thank you. I think I’ll go for it

---

<div class="post-metadata">

**Author:** ![Osiris](https://avatars.discourse-cdn.com/v4/letter/o/839c29/32.png) [@Osiris](https://forum.freecodecamp.org/u/Osiris)\
**Post date:** [April 3, 2018, 3:59pm UTC](https://forum.freecodecamp.org/t/what-js-book-to-read/182875/7 "2018-04-03T15:59:16Z")

</div>

I can t really help you regarding those books, but this video might help you understand better what s happening under the hood. I think you wouldn t regret if you give it a try. [https://www.youtube.com/watch?v=Bv\_5Zv5c-Ts](https://www.youtube.com/watch?v=Bv_5Zv5c-Ts)  
He explains very well and in depth what happens under the hood with examples and diagrams.I must tell you though that is not the complete course, only the 1 st 3.5 hours of it but if you think it teaches you what you need to know, you decide what to do after. Let me know if it was helpful for you. Have a great day 🙂

---

<div class="post-metadata">

**Author:** ![Lartwel](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/lartwel/32/118104_2.png) [@Lartwel](https://forum.freecodecamp.org/u/Lartwel)\
**Post date:** [April 6, 2018, 12:01pm UTC](https://forum.freecodecamp.org/t/what-js-book-to-read/182875/8 "2018-04-06T12:01:16Z")

</div>

I am already studying this course nowadays and it’s really great and helpful. He explains important concepts of the language in depth and how things act in the JS engine.  
Thanks @Osiris 🙂

---

<div class="post-metadata">

**Author:** ![Osiris](https://avatars.discourse-cdn.com/v4/letter/o/839c29/32.png) [@Osiris](https://forum.freecodecamp.org/u/Osiris)\
**Post date:** [April 6, 2018, 5:20pm UTC](https://forum.freecodecamp.org/t/what-js-book-to-read/182875/9 "2018-04-06T17:20:27Z")

</div>

Yes he does. He mostly explains what happens behind the scenes. He s a great instructor. I took his course already and saw all of it. Also he has other course for Node Js if u ll even be interested to learn NodeJs in depth. Happy codding 😃

---

<div class="post-metadata">

**Author:** ![ILM](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ilm/32/363239_2.png) [@ILM](https://forum.freecodecamp.org/u/ILM)\
**Post date:** [January 17, 2021, 8:23pm UTC](https://forum.freecodecamp.org/t/what-js-book-to-read/182875/10 "2021-01-17T20:23:33Z")

</div>


