---
title: "Swastik Patro (@swastikpatro) | Hashnode"
description: "#justcode. Read the latest articles by Swastik Patro on Hashnode."
url: "https://hashnode.com/@swastikpatro"
---

@swastikpatro

# Swastik Patro

@swastikpatro · Kalyan, Maharashtra, India · Joined February 2023

#justcode

[Website](https://swastik-patro-portfolio.netlify.app/)

### [Why does a function returns undefined when called?](https://patroswastik.hashnode.dev/why-does-a-function-returns-undefined-when-called?utm_source=hashnode&utm_medium=feed)

A function always returns a value. If a function does not return any value explicitly, it'll return undefined implicitly.

4 min read · [patroswastik.hashnode.dev](https://patroswastik.hashnode.dev/why-does-a-function-returns-undefined-when-called?utm_source=hashnode&utm_medium=feed)

[3](https://hashnode.com/posts/why-does-a-function-returns-undefined-when-called/63edfa579dbf3f24b8294375) [Feb 16, 2023](https://hashnode.com/posts/why-does-a-function-returns-undefined-when-called/63edfa579dbf3f24b8294375)
