---
title: "Comment by Rahul Pandey on \"Why does console.log() return 'undefined'?\" | Hashnode"
description: "Well explained!"
url: "https://hashnode.com/posts/why-does-consolelog-return-undefined/63eca468594e01fde25fb859/comment/63efe05ea7e6ca7a328c7772"
---

[Discussion](https://hashnode.com/posts/why-does-consolelog-return-undefined/63eca468594e01fde25fb859)

Comment [Why does console.log() return 'undefined'?](https://hashnode.com/posts/why-does-consolelog-return-undefined/63eca468594e01fde25fb859)

[Rahul Pandey](https://hashnode.com/@rahulpandey2396)

[Feb 17, 2023](https://hashnode.com/posts/why-does-consolelog-return-undefined/63eca468594e01fde25fb859/comment/63efe05ea7e6ca7a328c7772)

Well explained!

[Niharika Kesarwani](https://hashnode.com/@NiharikaKesarwani)

[Feb 18, 2023](https://hashnode.com/posts/why-does-consolelog-return-undefined/63eca468594e01fde25fb859/comment/63efe05ea7e6ca7a328c7772#reply-63f06d730e63a77a616fcd75)

Thank you, Rahul!
