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

@shabrez

# Shabrez G

@shabrez · Joined February 2023

### [Differences Between forEach() and map()](https://shabrezdev.hashnode.dev/differences-between-foreach-and-map?utm_source=hashnode&utm_medium=feed)

Every Javascript developer should know the difference between forEach() and map(). The points to be noted: When to use either forEach() and map() Performance speed The ability of chaining process Syntax: forEach(): forEach((currentElement, index...

3 min read · [shabrezdev.hashnode.dev](https://shabrezdev.hashnode.dev/differences-between-foreach-and-map?utm_source=hashnode&utm_medium=feed)

[Jul 20, 2023](https://hashnode.com/posts/differences-between-foreach-and-map/64b94074dd4e333e5a3c5987)

### [Difference between == VS ===](https://shabrezdev.hashnode.dev/difference-between-vs?utm_source=hashnode&utm_medium=feed)

const Num1 = 1; const Num2 = 1; console.log(Num1 == Num2); //output is true console.log(Num1 === Num2); // output is true 💡 Now you will say, What’s new in this!!!! \*\*const Num1 = 1; const string = “1”; // string is here console.log(Num1 == Num2); ...

1 min read · [shabrezdev.hashnode.dev](https://shabrezdev.hashnode.dev/difference-between-vs?utm_source=hashnode&utm_medium=feed)

[Mar 10, 2023](https://hashnode.com/posts/difference-between-vs/640ada58c435733ec300f2a9)

### [Type Error / Reference Error](https://shabrezdev.hashnode.dev/type-error-reference-error?utm_source=hashnode&utm_medium=feed)

💡 Getting Struck while coding, So, I am here to explain to you\*.\* The error makes you fed up with coding. Wanna quit coding? HELLO!!! DON'T DO IT. YOU ARE MISSING FUN😁😁😁….. TYPE ERROR const num = 123 num.toUpperCase() // throws Type error ...

2 min read · [shabrezdev.hashnode.dev](https://shabrezdev.hashnode.dev/type-error-reference-error?utm_source=hashnode&utm_medium=feed)

[Mar 10, 2023](https://hashnode.com/posts/type-error-reference-error/640ad8be37ba653c16b9b950)

### [.reduce method in JavaScript](https://shabrezdev.hashnode.dev/reduce-method-in-javascript?utm_source=hashnode&utm_medium=feed)

Let’s start with .reduce inBuilt function. The Reduce() method uses the reducer function that iterates through each element in the array and returns the single input \*\*\*Syntax arr.reduce(callback(accumulator, currentValue), initialValue)\*\*\* Let’s s...

3 min read · [shabrezdev.hashnode.dev](https://shabrezdev.hashnode.dev/reduce-method-in-javascript?utm_source=hashnode&utm_medium=feed)

[Mar 9, 2023](https://hashnode.com/posts/reduce-method-in-javascript/640a09369d4973581034197e)

### [.Find method in JavaScript](https://shabrezdev.hashnode.dev/find-method-in-javascript?utm_source=hashnode&utm_medium=feed)

Let’s start with .find inBuilt function. The find () method is used to iterate through the array and complete the find conditioned function by creating a new array, without changing the given parameter Array \*//Syntax arr.find(callback(currentValue)...

3 min read · [shabrezdev.hashnode.dev](https://shabrezdev.hashnode.dev/find-method-in-javascript?utm_source=hashnode&utm_medium=feed)

[Mar 9, 2023](https://hashnode.com/posts/find-method-in-javascript/640a07876de42ee07f738de9)
