# Flowchart for JavaScript's this

**URL:** <https://forum.kirupa.com/t/flowchart-for-javascripts-this/648768>\
**Category:** web dev\
**Created:** [September 2, 2021, 12:59pm UTC](https://forum.kirupa.com/t/flowchart-for-javascripts-this/648768 "2021-09-02T12:59:16Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![senocular](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/senocular/32/7217_2.png) [@senocular](https://forum.kirupa.com/u/senocular)\
**Post date:** [September 2, 2021, 12:59pm UTC](https://forum.kirupa.com/t/flowchart-for-javascripts-this/648768/1 "2021-09-02T12:59:16Z")

</div>

I’ve seen a few of these before but most only covered the basics. I thought I’d take a stab at it and try to make one that was a little more comprehensive. Here is the result:

 ![this_in_js](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/2X/3/33d0211ea7624b3c19aec5d73d9834dc055411d2.png)

For the most up-to-date version, see: [A Flowchart for JavaScript's this | senocular.github.io](https://senocular.github.io/articles/js_this_flowchart.html)

---

_[View the full topic](https://forum.kirupa.com/t/flowchart-for-javascripts-this/648768)._
