---
title: "Discussion on \"Js - Functions\" | Hashnode"
description: "Discussion on \"Js - Functions\". Simple function declaration\nLet's make a simple function that console logs \"Hello\" whenever called.\nfunction sayHello(){\n    console.log(\"Hello\")\n}\n\nconsole.log(sayHello)    // [Function: sayHello]\nsa"
url: "https://hashnode.com/posts/js-functions/69ce9a290ff860b6de0b8a6b"
---

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

Discussion

# [Js - Functions](https://javascriptfromscratch.hashnode.dev/js-functions?utm_source=hashnode&utm_medium=feed)

Simple function declaration Let's make a simple function that console logs "Hello" whenever called. function sayHello(){ console.log("Hello") } console.log(sayHello) // \[Function: sayHello\] sa

Apr 2 · 8 min read · javascriptfromscratch.hashnode.dev  
Updated Apr 24  
Read the article

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

## Written by

[Gambit](https://hashnode.com/@onchiangambit)

@onchiangambit

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
