---
title: "Shlok Mehra (@Shlok30) | Hashnode"
description: "Trying to do better. Read the latest articles by Shlok Mehra on Hashnode."
url: "https://hashnode.com/@Shlok30"
---

@Shlok30

# Shlok Mehra

@Shlok30 · Joined July 2022

Trying to do better

### [Understanding 'this' in Javascript](https://shlok30.hashnode.dev/understanding-this-in-javascript?utm_source=hashnode&utm_medium=feed)

By definition 'this' in Javascript refers to the object it belongs to and it can also be referred to as a property of the execution context Let's look at some examples of how 'this' refers to the object it belongs to or the property of the execution ...

3 min read · [shlok30.hashnode.dev](https://shlok30.hashnode.dev/understanding-this-in-javascript?utm_source=hashnode&utm_medium=feed)

[Jul 22, 2022](https://hashnode.com/posts/understanding-this-in-javascript/62dace99e3738c59b0b7c2c2)

### [let Vs const VS var in JS](https://shlok30.hashnode.dev/let-vs-const-vs-var-in-js?utm_source=hashnode&utm_medium=feed)

let Vs const Vs var in JS 1)var Socpe They can be functionally and globally scoped They can be reassigned and redeclared var declarations are globally scoped and they get added to the global object whenever they are declared outside the scope of any ...

2 min read · [shlok30.hashnode.dev](https://shlok30.hashnode.dev/let-vs-const-vs-var-in-js?utm_source=hashnode&utm_medium=feed)

[Jul 22, 2022](https://hashnode.com/posts/let-vs-const-vs-var-in-js/62dacd07e3b09e6748885dab)

### [Temporal Deadzones in JS](https://shlok30.hashnode.dev/temporal-deadzones-in-js?utm_source=hashnode&utm_medium=feed)

Definition of Temporal Deadzone/TDZ A temporal dead zone (TDZ) is the area of a block where a variable is inaccessible until the moment the computer completely initializes it with a value In simpler terms, TDZ is that area where you will get a "Refer...

2 min read · [shlok30.hashnode.dev](https://shlok30.hashnode.dev/temporal-deadzones-in-js?utm_source=hashnode&utm_medium=feed)

[Jul 21, 2022](https://hashnode.com/posts/temporal-deadzones-in-js/62d9bdc559f0dc59d51f1254)
