---
title: "Comment by Aadarsh on \"Top 5 Potent Javascript Tips and Tricks\" | Hashnode"
description: "Passing arguments as objects methods explain ?"
url: "https://hashnode.com/posts/top-5-potent-javascript-tips-and-tricks/6124b50d663d427e19ff9ac4/comment/6124cb4db115357df05f3a81"
---

[Discussion](https://hashnode.com/posts/top-5-potent-javascript-tips-and-tricks/6124b50d663d427e19ff9ac4)

Comment [Top 5 Potent Javascript Tips and Tricks](https://hashnode.com/posts/top-5-potent-javascript-tips-and-tricks/6124b50d663d427e19ff9ac4)

[Aadarsh](https://hashnode.com/@aadarsh12)

[Aug 24, 2021](https://hashnode.com/posts/top-5-potent-javascript-tips-and-tricks/6124b50d663d427e19ff9ac4/comment/6124cb4db115357df05f3a81)

Passing arguments as objects methods explain ?

[Gayathri Devi Srinivasan](https://hashnode.com/@GayathrideviSrinivasan)

[Aug 24, 2021](https://hashnode.com/posts/top-5-potent-javascript-tips-and-tricks/6124b50d663d427e19ff9ac4/comment/6124cb4db115357df05f3a81#reply-6124e9a4b115357df05f3e96)

You can use .bind() to pass the context. bind returns a function that when later executed will have the correct context set for calling the original function. This way you can maintain context in async callbacks, and events.Through this you can pass arguments as objects. Thanks for your comment Aadarsh.
