---
title: "Discussion on \"JavaScript L-2\" | Hashnode"
description: "Discussion on \"JavaScript L-2\". Functions in javascript.\nFunctions are used to execute any task that repeats itself.\n//Declare Function\nfunction singHppyB(){\n    console.log(\"Happy Birthday!\")\n}\n\n// Call Function\nsingHppyB();\n\n//Storing return value in new variable and calling it\nf..."
url: "https://hashnode.com/posts/javascript-l-2/63d55d6d1a95d3b5e99f68e1"
---

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

Discussion

# [JavaScript L-2](https://techbyjeevika.io/javascript-l-2?utm_source=hashnode&utm_medium=feed)

Functions in javascript. Functions are used to execute any task that repeats itself. //Declare Function function singHppyB(){ console.log("Happy Birthday!") } // Call Function singHppyB(); //Storing return value in new variable and calling it f...

Jan 28, 2023 · 2 min read · techbyjeevika.io  
Read the article

-   [#web-development](https://hashnode.com/tag/web-development)
-   [#webdev](https://hashnode.com/tag/webdev)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#html5](https://hashnode.com/tag/html5)
-   [#css](https://hashnode.com/tag/css)

## Written by

[Jeevika Sirwani](https://hashnode.com/@JeevikaSirwani)

@JeevikaSirwani

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
