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

@kumarshivesh

# Kumar Shivesh

@kumarshivesh · Joined January 2023

### [What is the difference between a statement and an expression in JavaScript?](https://kumarshivesh1.hashnode.dev/what-is-the-difference-between-a-statement-and-an-expression-in-javascript?utm_source=hashnode&utm_medium=feed)

What is the main difference between if...else and ternary operator?

5 min read · [kumarshivesh1.hashnode.dev](https://kumarshivesh1.hashnode.dev/what-is-the-difference-between-a-statement-and-an-expression-in-javascript?utm_source=hashnode&utm_medium=feed)

[Apr 17, 2024](https://hashnode.com/posts/what-is-the-difference-between-a-statement-and-an-expression-in-javascript/661f3b2bbb275fe540030dd4)

### [How the \`reduce()\` method is different from the \`map()\`, \`filter()\`, and \`find()\` method?](https://kumarshivesh1.hashnode.dev/how-the-reduce-method-is-different-from-the-map-filter-and-find-method?utm_source=hashnode&utm_medium=feed)

How is the reduce() method different from the map(), filter(), and find() method?

9 min read · [kumarshivesh1.hashnode.dev](https://kumarshivesh1.hashnode.dev/how-the-reduce-method-is-different-from-the-map-filter-and-find-method?utm_source=hashnode&utm_medium=feed)

[1](https://hashnode.com/posts/how-the-reduce-method-is-different-from-the-map-filter-and-find-method/66160b43dbd40b950714de2c) [Apr 10, 2024](https://hashnode.com/posts/how-the-reduce-method-is-different-from-the-map-filter-and-find-method/66160b43dbd40b950714de2c)

### [Functions: First-Class Citizens in JavaScript](https://kumarshivesh1.hashnode.dev/functions-first-class-citizens-in-javascript?utm_source=hashnode&utm_medium=feed)

Functions are treated as 'First-class citizens' in JavaScript. What does that mean? They can be assigned to variables, passed as arguments to other function

4 min read · [kumarshivesh1.hashnode.dev](https://kumarshivesh1.hashnode.dev/functions-first-class-citizens-in-javascript?utm_source=hashnode&utm_medium=feed)

[Apr 9, 2024](https://hashnode.com/posts/functions-first-class-citizens-in-javascript/6614bf5334d87bd27e178681)
