---
title: "Gaurav Srivastava (@FiftyBugsOfGrey) | Hashnode"
description: "Gaurav Srivastava (@FiftyBugsOfGrey) writes on Hashnode. Read their latest articles and follow their work."
url: "https://hashnode.com/@FiftyBugsOfGrey"
---

@FiftyBugsOfGrey

# Gaurav Srivastava

@FiftyBugsOfGrey · India · Joined May 2023

### [javascript.info Notes - Arrays](https://fiftybugsofgrey.hashnode.dev/javascriptinfo-notes-arrays?utm_source=hashnode&utm_medium=feed)

Array initiation let arr = new Array(); //almost rarely used let arr = \[\]; // this is what we do //special case let arr = new Array(10); //creates an array of ten elements length of array let arr = \['a', 'b', 'c'\]; let length = arr.length; console...

7 min read · [fiftybugsofgrey.hashnode.dev](https://fiftybugsofgrey.hashnode.dev/javascriptinfo-notes-arrays?utm_source=hashnode&utm_medium=feed)

[Nov 25, 2023](https://hashnode.com/posts/javascriptinfo-notes-arrays/656253e040de3d1891fa1aff)

### [javascript.info Notes - Strings](https://fiftybugsofgrey.hashnode.dev/javascriptinfo-notes-strings?utm_source=hashnode&utm_medium=feed)

Three ways to declare strings in JS let single = 'single-quoted'; let double = "double-quoted"; let backticks = \`backticks\`; Accessing characters let str = \`Hello\`; // the first character console.log( str\[0\] ); // H console.log( str.at(0) ); // H ...

2 min read · [fiftybugsofgrey.hashnode.dev](https://fiftybugsofgrey.hashnode.dev/javascriptinfo-notes-strings?utm_source=hashnode&utm_medium=feed)

[Nov 25, 2023](https://hashnode.com/posts/javascriptinfo-notes-strings/6561a7d0ab2aca0e4017ecd7)

### [javascript.info Notes - Numbers](https://fiftybugsofgrey.hashnode.dev/javascriptinfo-notes-numbers?utm_source=hashnode&utm_medium=feed)

Quick notes about numbers in Javascript. It is expected that you have already understood how it works and just want to revise the important points. let billion\_1 = 1000000000; let billion\_2 = 1\_000\_000\_000; let billion\_3 = 1e9; //all above are same ...

2 min read · [fiftybugsofgrey.hashnode.dev](https://fiftybugsofgrey.hashnode.dev/javascriptinfo-notes-numbers?utm_source=hashnode&utm_medium=feed)

[Nov 23, 2023](https://hashnode.com/posts/javascriptinfo-notes-numbers/655f973fdd605344b17448aa)

### [Introduction to Typescript - Chapter 5: Type Assertions](https://fiftybugsofgrey.hashnode.dev/introduction-to-typescript-chapter-5-type-assertions?utm_source=hashnode&utm_medium=feed)

Type assertions are very useful in Typescript and in some cases very necessary. It is also called Type Casting. There are several situations in which we know more about the data than the compiler and we, as developers, assert that we know more and as...

3 min read · [fiftybugsofgrey.hashnode.dev](https://fiftybugsofgrey.hashnode.dev/introduction-to-typescript-chapter-5-type-assertions?utm_source=hashnode&utm_medium=feed)

[Nov 17, 2023](https://hashnode.com/posts/introduction-to-typescript-chapter-5-type-assertions/65572baa3dbd148d468e3b81)

### [Introduction to Typescript - Chapter 4: Functions](https://fiftybugsofgrey.hashnode.dev/introduction-to-typescript-chapter-4-functions?utm_source=hashnode&utm_medium=feed)

Continuing my journey to understand Typescript, we shall explore functions, but before that let's understand a few things about literal types and type aliases. Type Aliases: So, as the name suggests, it is very common that we need different kinds of ...

4 min read · [fiftybugsofgrey.hashnode.dev](https://fiftybugsofgrey.hashnode.dev/introduction-to-typescript-chapter-4-functions?utm_source=hashnode&utm_medium=feed)

[Nov 16, 2023](https://hashnode.com/posts/introduction-to-typescript-chapter-4-functions/65563a101b65960481b074f8)
