DEV Community

Discussion on: Demystifying the JavaScript call stack

Collapse
 
chrisachard profile image
Chris Achard

Nice writeup! The call stack is something that I don't really know how it works, but always feel like I should 🤣So this helps.

BTW, a quick tip if you want neat syntax highlighting on your examples, you can put javascript in your code examples, like this:


```javascript
```

To get highlighted output like this:

  let generatedFunc = function(num) {
    return num * 2;
  };

Good post!

Collapse
 
ogwurujohnson profile image
Johnson Ogwuru

Yeah, you should 🤣. Thanks for the tip, have applied it now.