---
title: "Suraj Negi (@ersurajnegi) | Hashnode"
description: "A Programmer, busy debugging loop of LIFE! Read the latest articles by Suraj Negi on Hashnode."
url: "https://hashnode.com/@ersurajnegi"
---

@ersurajnegi

# Suraj Negi

@ersurajnegi · Joined June 2021

A Programmer, busy debugging loop of LIFE!

### [Different ways to Create functions in Javascript](https://negi.hashnode.dev/different-ways-to-create-functions-in-javascript?utm_source=hashnode&utm_medium=feed)

Today, we will learn different ways to create functions in Javascript. Before starting, a reminder about what is a function: A Function is a block of statements that is designed to perform a particular task. //defining a function function test(){ ...

3 min read · [negi.hashnode.dev](https://negi.hashnode.dev/different-ways-to-create-functions-in-javascript?utm_source=hashnode&utm_medium=feed)

[Jun 30, 2021](https://hashnode.com/posts/different-ways-to-create-functions-in-javascript/60dc3fa795305075b93375f2)

### [Let and Const in JavaScript](https://negi.hashnode.dev/let-and-const-in-javascript?utm_source=hashnode&utm_medium=feed)

Let's learn about let and const variables Before ES6, the only way you can create a variable in javascript was by using the var keyword: var x = 10; Since ES6, there are two new keywords, let and const. Below is an example to show their usage: let...

3 min read · [negi.hashnode.dev](https://negi.hashnode.dev/let-and-const-in-javascript?utm_source=hashnode&utm_medium=feed)

[Jun 29, 2021](https://hashnode.com/posts/let-and-const-in-javascript/60daf847f4984338ee7cb080)
