{
  "id": 20360185,
  "title": "This e Binding: why the value changes with each call",
  "url": "https://urgent.news/2026/11/17/this-e-binding-por-que-o-valor-muda-a-cada-chamada",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-11-17T01:28:03.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/rohyer/this-e-binding-por-que-o-valor-muda-a-cada-chamada-37bc"
  },
  "original_language": "pt",
  "account": "The article explains the concept of \"this\" in JavaScript, which can be confusing due to its dynamic value. The author argues that understanding \"this\" requires a mental model of binding, which is the association between an identifier and its value. In JavaScript, \"this\" has late binding, meaning its value is determined at the time the function is called, not where it was written. The article outlines four rules for determining the value of \"this\": implicit binding, default binding, explicit binding, and binding with \"new\".",
  "summary": "Introduction This is one of the parts of JavaScript that generates the most confusion, because its value is not always what we expect when reading the code. In this article, instead of memorizing a list of rules, we will build a mental model that explains where it comes from and allows us to deduce the value of this in each situation. To do this, we will go through the following essential topics for your understanding. What is…",
  "key_points": [
    "\"this\" keyword in JavaScript causes confusion",
    "Early binding decided by static facts before execution",
    "Late binding decided by dynamic facts during runtime"
  ],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}