---
title: "Nakul Sharma (@nakulsharma) | Hashnode"
description: "Web Developer. Read the latest articles by Nakul Sharma on Hashnode."
url: "https://hashnode.com/@nakulsharma"
---

@nakulsharma

# Nakul Sharma

@nakulsharma · Delhi, India · Joined September 2021

Web Developer

### [Pure functions in JavaScript](https://nakulsharma.hashnode.dev/pure-functions-in-javascript?utm_source=hashnode&utm_medium=feed)

Introduction Before understanding what pure functions are, we should be having a decent knowledge of what functions are in JavaScript. Functions are the fundamental building blocks in JavaScript. In simpler terms, a function is a block of code that p...

3 min read · [nakulsharma.hashnode.dev](https://nakulsharma.hashnode.dev/pure-functions-in-javascript?utm_source=hashnode&utm_medium=feed)

[Jul 22, 2022](https://hashnode.com/posts/pure-functions-in-javascript/62da7a34e3738c59b0b7b2e3)

### [Optional Chaining in JavaScript](https://nakulsharma.hashnode.dev/optional-chaining-in-javascript?utm_source=hashnode&utm_medium=feed)

Introduction Consider the following line of code: const iceCream = menu?.dessert?.icecream If you've used optional chaining before, then you can easily tell what's going on in the above line of code. The above example is a prominent example of option...

4 min read · [nakulsharma.hashnode.dev](https://nakulsharma.hashnode.dev/optional-chaining-in-javascript?utm_source=hashnode&utm_medium=feed)

[Jul 21, 2022](https://hashnode.com/posts/optional-chaining-in-javascript/62d999c559f0dc59d51f0d36)

### [What is Hoisting in JavaScript ?](https://nakulsharma.hashnode.dev/what-is-hoisting-in-javascript?utm_source=hashnode&utm_medium=feed)

Introduction Hoisting is one of the most important concepts in JavaScript. Let's look at an example before we move forward: function sum (a,b) { return a+b; } console.log(sum(5,10)); It is quite clear that the output of the above console log will ...

4 min read · [nakulsharma.hashnode.dev](https://nakulsharma.hashnode.dev/what-is-hoisting-in-javascript?utm_source=hashnode&utm_medium=feed)

[Jul 21, 2022](https://hashnode.com/posts/what-is-hoisting-in-javascript/62d963a3e3738c59b0b7848c)

### [How to stay fit as a developer?](https://nakulsharma.hashnode.dev/how-to-stay-fit-as-a-developer?utm_source=hashnode&utm_medium=feed)

Being a software developer is assuredly not a very healthy profession. One has to sit in front of a computer, coding all day long or night long, handling errors and deadlines. A typical day with this kind of schedule involves a lot of sitting, which ...

3 min read · [nakulsharma.hashnode.dev](https://nakulsharma.hashnode.dev/how-to-stay-fit-as-a-developer?utm_source=hashnode&utm_medium=feed)

[1](https://hashnode.com/posts/how-to-stay-fit-as-a-developer/6134808b489de51a6a7af283) [Sep 5, 2021](https://hashnode.com/posts/how-to-stay-fit-as-a-developer/6134808b489de51a6a7af283)

### [What is a 404 error?](https://nakulsharma.hashnode.dev/what-is-a-404-error?utm_source=hashnode&utm_medium=feed)

Almost all of us encountered a 404 error message while browsing the web. Type a URL or click a link that takes you to a new page & suddenly this appears: Page Not Found. You can encounter this error quite often. But if you find one on your website, y...

2 min read · [nakulsharma.hashnode.dev](https://nakulsharma.hashnode.dev/what-is-a-404-error?utm_source=hashnode&utm_medium=feed)

[Sep 4, 2021](https://hashnode.com/posts/what-is-a-404-error/61337322489de51a6a7adb22)
