---
title: "Shahbaz Khan's Blog (@shahbazkhan) | Hashnode"
description: "Frontend Engineer. Read the latest articles by Shahbaz Khan's Blog on Hashnode."
url: "https://hashnode.com/@shahbazkhan"
---

@shahbazkhan

# Shahbaz Khan's Blog

@shahbazkhan · Mumbai, India · Joined January 2022

Frontend Engineer

[Website](https://www.shahbazkhan.in/)

### [Promise in JavaScript simplified!](https://blog.shahbazkhan.in/promise-in-javascript-simplified?utm_source=hashnode&utm_medium=feed)

What's promise in JS? Promise in JavaScript is just like a promise in real life. It enables us to perform asynchronous tasks in JavaScript and always returns a result whether the promise is fulfilled or not. Let’s have a look at below syntax for crea...

6 min read · [blog.shahbazkhan.in](https://blog.shahbazkhan.in/promise-in-javascript-simplified?utm_source=hashnode&utm_medium=feed)

[Sep 9, 2022](https://hashnode.com/posts/promise-in-javascript-simplified/631b3304f73f4734bc0511bd)

### [Introduction to Functional Programming in JavaScript.](https://blog.shahbazkhan.in/introduction-to-functional-programming-in-javascript?utm_source=hashnode&utm_medium=feed)

Functional programming is a declarative way of writing a program by emphasizing on what needs to be performed rather than how it needs to be performed.

5 min read · [blog.shahbazkhan.in](https://blog.shahbazkhan.in/introduction-to-functional-programming-in-javascript?utm_source=hashnode&utm_medium=feed)

[Apr 16, 2022](https://hashnode.com/posts/introduction-to-functional-programming-in-javascript/625ab50c52fb7bd53380e95f)

### [Do you really think that loose equals (==) compares the value and strict equals (===) compares the value as well as the type of two variables in JS?](https://blog.shahbazkhan.in/do-you-really-think-that-loose-equals-compares-the-value-and-strict-equals-compares-the-value-as-well-as-the-type-of-two-variables-in-js?utm_source=hashnode&utm_medium=feed)

I am sure you must have used loose equals (==) and strict equals (===) in JavaScript while comparing two variables. Have you wondered what is the difference between them? If you think that loose equals (==) compares the value and strict equals (===) ...

3 min read · [blog.shahbazkhan.in](https://blog.shahbazkhan.in/do-you-really-think-that-loose-equals-compares-the-value-and-strict-equals-compares-the-value-as-well-as-the-type-of-two-variables-in-js?utm_source=hashnode&utm_medium=feed)

[4](https://hashnode.com/posts/do-you-really-think-that-loose-equals-compares-the-value-and-strict-equals-compares-the-value-as-well-as-the-type-of-two-variables-in-js/61e061c3ffa55d74f0089e94) [Jan 13, 2022](https://hashnode.com/posts/do-you-really-think-that-loose-equals-compares-the-value-and-strict-equals-compares-the-value-as-well-as-the-type-of-two-variables-in-js/61e061c3ffa55d74f0089e94)
