---
title: "Discussion on \"JavaScript Functions - return vs. console.log()\" | Hashnode"
description: "Discussion on \"JavaScript Functions - return vs. console.log()\". Learn the differences between printing a value with console.log() inside a function and returning a value from a function in JavaScript."
url: "https://hashnode.com/posts/javascript-functions-return-vs-console-log/63795bb8f229feb99e95d1d6"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [JavaScript Functions - return vs. console.log()](https://codingwithestefania.hashnode.dev/javascript-functions-return-vs-console-log?utm_source=hashnode&utm_medium=feed)

Learn the differences between printing a value with console.log() inside a function and returning a value from a function in JavaScript.

Nov 19, 2022 · 5 min read · codingwithestefania.hashnode.dev  
Updated Jul 14, 2023  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#functions](https://hashnode.com/tag/functions)
-   [#consolelog](https://hashnode.com/tag/consolelog)

## Written by

[Estefania Cassingena Navone](https://hashnode.com/@estefaniacn)

@estefaniacn

  
[View profile](https://hashnode.com/@estefaniacn)

Software developer and technical writer. I write about Python, JavaScript, and Computer Science topics.

I'm a software developer and technical writer. I love teaching and learning the intricacies of the amazing world of programming.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
