---
title: "Rakesh Kumar Shaw (@rakeshshaw) | Hashnode"
description: "Senior Software Engineer. Read the latest articles by Rakesh Kumar Shaw on Hashnode."
url: "https://hashnode.com/@rakeshshaw"
---

@rakeshshaw

# Rakesh Kumar Shaw

@rakeshshaw · Bengaluru, India · Joined September 2022

Senior Software Engineer

### [Variable Hoisting in JavaScript](https://blogsfromrakesh.hashnode.dev/variable-hoisting-in-javascript?utm_source=hashnode&utm_medium=feed)

Hoisting is a default behaviour in JavaScript where all the declarations (variables & functions) are moved to the top of the current scope. I’m gonna discuss on variable hoisting today. Let’s understand the variable hoisting with the below sample. a ...

1 min read · [blogsfromrakesh.hashnode.dev](https://blogsfromrakesh.hashnode.dev/variable-hoisting-in-javascript?utm_source=hashnode&utm_medium=feed)

[Sep 15, 2022](https://hashnode.com/posts/variable-hoisting-in-javascript/6322bbfc5483096daa0ad201)

### [Alternative approaches in JavaScript](https://blogsfromrakesh.hashnode.dev/alternative-approaches-in-javascript?utm_source=hashnode&utm_medium=feed)

It's a short article demonstrating alternative ways of writing some of the tradition JavaScript codes. The old of converting Number-Strings let num = 10; let newNum = num.toString(); let str = "10" let strNum = Number(str) The alternative way for ...

1 min read · [blogsfromrakesh.hashnode.dev](https://blogsfromrakesh.hashnode.dev/alternative-approaches-in-javascript?utm_source=hashnode&utm_medium=feed)

[Sep 12, 2022](https://hashnode.com/posts/alternative-approaches-in-javascript/631f7c8f526d775aa7f6642a)

### [Array Flattening](https://blogsfromrakesh.hashnode.dev/array-flattening-interview-question?utm_source=hashnode&utm_medium=feed)

Frequently, we are thrown with a question where the interviewer expects us to make a nested array to a single array (in other terms, flatten an array). Although we have an existing Array method to flatten the array but sometimes they expects us to wr...

2 min read · [blogsfromrakesh.hashnode.dev](https://blogsfromrakesh.hashnode.dev/array-flattening-interview-question?utm_source=hashnode&utm_medium=feed)

[Sep 12, 2022](https://hashnode.com/posts/array-flattening-interview-question/631f728d526d775aa7f6626f)
