[HN Gopher] Understanding JavaScript Execution Context like neve... ___________________________________________________________________ Understanding JavaScript Execution Context like never before Author : atapas Score : 26 points Date : 2020-06-11 12:20 UTC (1 days ago) (HTM) web link (blog.greenroots.info) (TXT) w3m dump (blog.greenroots.info) | kinow wrote: | Another good resource for understanding JS execution context: | https://tylermcginnis.com/ultimate-guide-to-execution-contex... | | You can use its JavaScript Visualizer to step through the context | creation (ES5, doesn't work too well with ES6): | https://tylermcginnis.com/javascript-visualizer/ | pdxandi wrote: | Just a general note that the grammar in this article could use | some help. I wanted to continue reading but found myself tripping | up and losing my train of thought. I'd be more specific if I | weren't on mobile. | SahAssar wrote: | Using looping gifs everywhere makes it really hard to focus on | the text I'm trying to read. | whycombagator wrote: | Huh? | | Maybe my adblocker is blocking some, but I only counted 4 - and | 3/4 are demonstrating execution context. Only 1 is irrelevant. | | Also, I thought all gifs looped - or at least, it's common for | them to loop. | SahAssar wrote: | I didn't say that they were all irrelevant, only that they | are distracting when trying to read the textual content. | | It's possible to do non-looping or at least pauseable either | by using a video file (like most "gifs" online do these days) | or using JS. | | Either way, having stuff move around right next to text you | want people to focus on is generally not a good idea. | k__ wrote: | Can't remember the last time I cared about the execution context | since I use arrow functions everywhere. ___________________________________________________________________ (page generated 2020-06-12 23:00 UTC)