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

@palakgupta

# Palak Gupta

@palakgupta · Joined October 2021

### [Javascript Functions](https://palakgupta.hashnode.dev/javascript-functions?utm_source=hashnode&utm_medium=feed)

Functions Functions are the fundamental building block of any programming language. A function is a set of statements that performs a particular task and can be reused again. A Function is a block of code that is defined once but can be executed or ...

7 min read · [palakgupta.hashnode.dev](https://palakgupta.hashnode.dev/javascript-functions?utm_source=hashnode&utm_medium=feed)

[Oct 15, 2021](https://hashnode.com/posts/javascript-functions/616b01c7441bd36daa955a5b)

### [5 must known array method](https://palakgupta.hashnode.dev/5-must-known-array-method?utm_source=hashnode&utm_medium=feed)

Javascript array map() function The map() function runs a given function once for each element in an iterable. It does not modify the array it is invoked on. The syntax for the map() method is : map(function callback(currentValue, index, array)) { … ...

3 min read · [palakgupta.hashnode.dev](https://palakgupta.hashnode.dev/5-must-known-array-method?utm_source=hashnode&utm_medium=feed)

[Oct 14, 2021](https://hashnode.com/posts/5-must-known-array-method/6168eec853401f641ba17745)

### [Random Color Generator](https://palakgupta.hashnode.dev/random-color-generator?utm_source=hashnode&utm_medium=feed)

The best way to learn to program is to practice more and build projects. This is a small guide to create a random color generator for yourself. This article will cover how to generate random colors for your projects. Key Concepts covered : Math.rand...

4 min read · [palakgupta.hashnode.dev](https://palakgupta.hashnode.dev/random-color-generator?utm_source=hashnode&utm_medium=feed)

[Oct 2, 2021](https://hashnode.com/posts/random-color-generator/6158376a70a8165c11f6387f)
