---
title: "Discussion on \"Javascript - This, uma variável implícita\" | Hashnode"
description: "Discussion on \"Javascript - This, uma variável implícita\". This\nThis é uma váriavel implícita que faz referência para o objeto responsável pela sua invocação.\nconst squared = {\n    x: 5,\n    y: 5,\n    calculateArea() {\n        return this.x * this.y\n    }\n}\n\nconsole.log(squared.calculateArea())\n25\nVamos pass..."
url: "https://hashnode.com/posts/javascript-this-uma-variavel-implicita/612d4f322858872661b9ec6b"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Javascript - This, uma variável implícita](https://devolopingtheworld.hashnode.dev/javascript-this-uma-variavel-implicita?utm_source=hashnode&utm_medium=feed)

This This é uma váriavel implícita que faz referência para o objeto responsável pela sua invocação. const squared = { x: 5, y: 5, calculateArea() { return this.x \* this.y } } console.log(squared.calculateArea()) 25 Vamos pass...

Aug 30, 2021 · 1 min read · devolopingtheworld.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#es6](https://hashnode.com/tag/es6)
-   [#functions](https://hashnode.com/tag/functions)
-   [#object-oriented-programming](https://hashnode.com/tag/object-oriented-programming)

## Written by

[Gabriel da Costa Valin](https://hashnode.com/@gvt3ch)

@gvt3ch · Botucatu, SP - Brasil

  
[View profile](https://hashnode.com/@gvt3ch)

Software Engineer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
