---
title: "Dushyant  Pratap Singh (@dushyantxcode) | Hashnode"
description: "Documenting My Journey From Beginner to Job Ready Web Developer. Read the latest articles by Dushyant  Pratap Singh on Hashnode."
url: "https://hashnode.com/@dushyantxcode"
---

@dushyantxcode

# Dushyant Pratap Singh

@dushyantxcode · Joined January 2026

Documenting My Journey From Beginner to Job Ready Web Developer

[Website](https://www.youtube.com/@dushyant.builds)

### [String Polyfills and Common Interview Methods in JavaScript](https://dushyantxcode.hashnode.dev/string-polyfills-and-common-interview-methods-in-javascript?utm_source=hashnode&utm_medium=feed)

String string is just a sequencce of character properties Strings are immutable Strings behave like arrays (but they’re NOT arrays) Strings are objects under the hood way to create string let a =

6 min read · [dushyantxcode.hashnode.dev](https://dushyantxcode.hashnode.dev/string-polyfills-and-common-interview-methods-in-javascript?utm_source=hashnode&utm_medium=feed)

[Apr 28](https://hashnode.com/posts/string-polyfills-and-common-interview-methods-in-javascript/69f0882110a70b333590337a)

### [Map & sets in JavaScript](https://dushyantxcode.hashnode.dev/map-sets-in-javascript?utm_source=hashnode&utm_medium=feed)

befro these javascript only hava objects -> key-value storage Arrays -> ordered list Problem with object at that time objects were never design as pure key value database issues: Keys are always

4 min read · [dushyantxcode.hashnode.dev](https://dushyantxcode.hashnode.dev/map-sets-in-javascript?utm_source=hashnode&utm_medium=feed)

[Apr 21](https://hashnode.com/posts/map-sets-in-javascript/69e731f584846b95c52bdd5e)

### [Array Flatten in JavaScript](https://dushyantxcode.hashnode.dev/array-flatten-in-javascript?utm_source=hashnode&utm_medium=feed)

what are nested arrays a nested array is simply an array inside another array eg let arr = \[1, 2, \[3, 4\], 5\] we can go more deep insode of that let arr = \[1, \[2, \[3, \[4\]\]\]\]; This is called deeply ne

4 min read · [dushyantxcode.hashnode.dev](https://dushyantxcode.hashnode.dev/array-flatten-in-javascript?utm_source=hashnode&utm_medium=feed)

[Apr 21](https://hashnode.com/posts/array-flatten-in-javascript/69e71ae2c9501dd0108c6afd)

### [Spread vs Rest Operators in JavaScript](https://dushyantxcode.hashnode.dev/spread-vs-rest-operators-in-javascript?utm_source=hashnode&utm_medium=feed)

what does spread Operator does spread meas expand , it takes something like an array or object and spread its contents out individually const arr = \[1, 2, 3\]; console.log(...arr); output: 1 2 3 yo

5 min read · [dushyantxcode.hashnode.dev](https://dushyantxcode.hashnode.dev/spread-vs-rest-operators-in-javascript?utm_source=hashnode&utm_medium=feed)

[Apr 20](https://hashnode.com/posts/spread-vs-rest-operators-in-javascript/69e636cd1faed8cd14b15c2b)

### [Destructuring in JavaScript](https://dushyantxcode.hashnode.dev/destructuring-in-javascript?utm_source=hashnode&utm_medium=feed)

What Destructing means pulling out a values out of arrays /object and storing them in variable in a shorter way for array without destructuring const arr = \[10, 20, 30\]; const a = arr\[0\]; const b = a

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

[Apr 20](https://hashnode.com/posts/destructuring-in-javascript/69e6057f1faed8cd148675bf)
