---
title: "Harshal Dongare (@heyHarshal) | Hashnode"
description: "A software developer. Read the latest articles by Harshal Dongare on Hashnode."
url: "https://hashnode.com/@heyHarshal"
---

@heyHarshal

# Harshal Dongare

@heyHarshal · Maharashtra, India · Joined January 2023

A software developer

### [JavaScript Closures: Practical Usecase](https://harshaldongaredoc.com/javascript-closures-practical-usecase?utm_source=hashnode&utm_medium=feed)

Encapsulation and Data Privacy In JavaScript, closures play a crucial role in promoting encapsulation and data privacy through lexical scoping. Let's revisit the createCounter example to understand how it achieves encapsulation and data privacy: ja...

4 min read · [harshaldongaredoc.com](https://harshaldongaredoc.com/javascript-closures-practical-usecase?utm_source=hashnode&utm_medium=feed)

[Jul 5, 2024](https://hashnode.com/posts/javascript-closures-practical-usecase/6687cce6856d801a561bda11)

### [Mastering Redux: Exploring Various State Types and Effective Management](https://harshaldongaredoc.com/mastering-redux-exploring-various-state-types-and-effective-management?utm_source=hashnode&utm_medium=feed)

Discover how Redux manages various types of information such as user login, interface, getting data, forms, moving around, settings, and shopping carts. let's delve into each topic in more detail: User Authentication State: Purpose: This state keep...

5 min read · [harshaldongaredoc.com](https://harshaldongaredoc.com/mastering-redux-exploring-various-state-types-and-effective-management?utm_source=hashnode&utm_medium=feed)

[May 9, 2024](https://hashnode.com/posts/mastering-redux-exploring-various-state-types-and-effective-management/663c9bef5a72577b6c791237)

### [JavaScript Interview Questions and Coding Problems - Part 1](https://harshaldongaredoc.com/javascript-interview-questions-and-coding-problems?utm_source=hashnode&utm_medium=feed)

⭐ Write a JavaScript function to check whether the given an input is an array or not. There are two ways : 1) Array.isArray() function checkArray(input){ return Array.isArray(input); } console.log(1); // false console.log(\[\]); // tr...

6 min read · [harshaldongaredoc.com](https://harshaldongaredoc.com/javascript-interview-questions-and-coding-problems?utm_source=hashnode&utm_medium=feed)

[Mar 20, 2024](https://hashnode.com/posts/javascript-interview-questions-and-coding-problems/65fb0c099a8812afd2cb87e1)

### [Object and its common methods in javascript](https://harshaldongaredoc.com/object-and-its-common-methods-in-javascript?utm_source=hashnode&utm_medium=feed)

Object: Object has key-value pairs. In JavaScript objects, the keys are always stored and treated as strings, regardless of how they are specified. This means that even if you define a key as a number or a symbol, it will be converted to a string i...

4 min read · [harshaldongaredoc.com](https://harshaldongaredoc.com/object-and-its-common-methods-in-javascript?utm_source=hashnode&utm_medium=feed)

[Mar 13, 2024](https://hashnode.com/posts/object-and-its-common-methods-in-javascript/65f16b543616aa763e2d5ee3)

### [Important Array Methods In JavaScript](https://harshaldongaredoc.com/important-array-methods-in-javascript?utm_source=hashnode&utm_medium=feed)

Array: JavaScript arrays are resizable and can contain mix of different data types. Array elements are accessed using their indices. Index starts from 0. Javascript array-copy operation create shallow copies which means it shares the reference po...

5 min read · [harshaldongaredoc.com](https://harshaldongaredoc.com/important-array-methods-in-javascript?utm_source=hashnode&utm_medium=feed)

[Mar 13, 2024](https://hashnode.com/posts/important-array-methods-in-javascript/65f150361aa7ac528c312fc8)
