---
title: "Discussion on \"Understanding this, Nested Functions, Detached Methods, and call(), apply(), bind() in JavaScript\" | Hashnode"
description: "Discussion on \"Understanding this, Nested Functions, Detached Methods, and call(), apply(), bind() in JavaScript\". JavaScript’s this keyword often feels confusing at first. The easiest mental model is simple:\nthis refers to the object that is calling the function.\nIf you remember this rule, most behavior becomes p"
url: "https://hashnode.com/posts/understanding-this-nested-functions-detached-methods-and-call-apply-bind-in-javascript/69b50941210c74252fc7a6de"
---

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

Discussion

# [Understanding this, Nested Functions, Detached Methods, and call(), apply(), bind() in JavaScript](https://javascript-blog-1.hashnode.dev/understanding-this-nested-functions-detached-methods-and-call-apply-bind-in-javascript?utm_source=hashnode&utm_medium=feed)

JavaScript’s this keyword often feels confusing at first. The easiest mental model is simple: this refers to the object that is calling the function. If you remember this rule, most behavior becomes p

Mar 14 · 5 min read · javascript-blog-1.hashnode.dev  
Read the article

-   [#chaicode](https://hashnode.com/tag/chaicode)
-   [#chaicohort](https://hashnode.com/tag/chaicohort)
-   [#javascript](https://hashnode.com/tag/javascript)

## Written by

[Sudhanshu Mishra](https://hashnode.com/@sudhanshu1-dev)

@sudhanshu1-dev · Delhi, India

  
[View profile](https://hashnode.com/@sudhanshu1-dev)

Code. Learn. Share.

Software developer writing to think clearly about code, systems, and real-world tradeoffs.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
