---
title: "Abhas Bhattacharya (@bendtherules) | Hashnode"
description: "Typescripting. Read the latest articles by Abhas Bhattacharya on Hashnode."
url: "https://hashnode.com/@bendtherules"
---

@bendtherules

# Abhas Bhattacharya

@bendtherules · Bangalore · Joined January 2019

Typescripting

[Website](https://bendtherul.es/)

### [What's in a (function) name?](https://bendtherules.hashnode.dev/whats-in-a-function-name?utm_source=hashnode&utm_medium=feed)

How does function.name and name binding work in Javascript?

11 min read · [bendtherules.hashnode.dev](https://bendtherules.hashnode.dev/whats-in-a-function-name?utm_source=hashnode&utm_medium=feed)

[1](https://hashnode.com/posts/whats-in-a-function-name/61d011440cfc5655c1844624) [Jan 1, 2022](https://hashnode.com/posts/whats-in-a-function-name/61d011440cfc5655c1844624)

### [Closure and this - How are variables resolved within a function?](https://bendtherules.hashnode.dev/closure-and-this-how-are-variables-resolved-within-a-function?utm_source=hashnode&utm_medium=feed)

Let's start with a example of closure - function outer() { // scope A var myText = 'Hello' return function inner() { // scope B console.log(myText) } } { // scope C let myText = 'World' let fn = outer() fn(); } Here we have ...

7 min read · [bendtherules.hashnode.dev](https://bendtherules.hashnode.dev/closure-and-this-how-are-variables-resolved-within-a-function?utm_source=hashnode&utm_medium=feed)

[3](https://hashnode.com/posts/closure-and-this-how-are-variables-resolved-within-a-function/5f2744f6bcc1a77423c401e1) [Aug 2, 2020](https://hashnode.com/posts/closure-and-this-how-are-variables-resolved-within-a-function/5f2744f6bcc1a77423c401e1)

### [How does in-built Array iterator work?](https://bendtherules.hashnode.dev/how-does-in-built-array-iterator-work?utm_source=hashnode&utm_medium=feed)

We use \[...someArray\] or array.values() to get multiple values out of a array. And we kind of know how it works - it just returns all the values from the array. Now internally, both of them uses the iterator protocol - which is already defined on ar...

5 min read · [bendtherules.hashnode.dev](https://bendtherules.hashnode.dev/how-does-in-built-array-iterator-work?utm_source=hashnode&utm_medium=feed)

[1](https://hashnode.com/posts/how-does-in-built-array-iterator-work/5f0adaf2f80d68509e50d0ab) [Jul 12, 2020](https://hashnode.com/posts/how-does-in-built-array-iterator-work/5f0adaf2f80d68509e50d0ab)

### [Flipkart UI Engineer 1 interview - My experience](https://bendtherules.hashnode.dev/flipkart-ui-engineer-1-interview-my-experience?utm_source=hashnode&utm_medium=feed)

🎙️ Hi, I am Abhas. I interviewed at Flipkart for UI engineer 1 role in the beginning of 2019. It's already been one year from then, but I never publicly wrote about it. Over time, some people have asked me about the UI interview process at Flipkar...

6 min read · [bendtherules.hashnode.dev](https://bendtherules.hashnode.dev/flipkart-ui-engineer-1-interview-my-experience?utm_source=hashnode&utm_medium=feed)

[1](https://hashnode.com/posts/flipkart-ui-engineer-1-interview-my-experience/5ea51c7a12892a3c760b8aee) [Apr 26, 2020](https://hashnode.com/posts/flipkart-ui-engineer-1-interview-my-experience/5ea51c7a12892a3c760b8aee)

### [What is \`this\` inside foo.bar()?](https://bendtherules.hashnode.dev/what-is-this-inside-foobar?utm_source=hashnode&utm_medium=feed)

The problem Calling a method directly works as expected.But when we pass a method as callback, it loses reference to the original object (as this) when called. Why is that? Can the spec help us explain this difference? The explanation For methods, ...

[bendtherules.hashnode.dev](https://bendtherules.hashnode.dev/what-is-this-inside-foobar?utm_source=hashnode&utm_medium=feed)

[1](https://hashnode.com/posts/what-is-this-inside-foobar/5e8178dfba34afe713b7d272) [Mar 30, 2020](https://hashnode.com/posts/what-is-this-inside-foobar/5e8178dfba34afe713b7d272)
