MOTOSHARE 🚗🏍️

Rent Bikes & Cars Directly from Owners

Motoshare connects vehicle owners with people who need bikes and cars on rent. Owners earn from idle vehicles, and renters get flexible ride options.

Visit Motoshare

Function in JavaScript

JavaScriptWebsites

What is a Function in JavaScript

A JavaScript function is a block of code designed to perform a particular task. In simple terms, Functions are used to make work easy, reduce the effort of coding multiple lines for the same task which is needed to repeat multiple times.

  1. Function Declaration
  2. Function Definition.
  3. Function Call

In JavaScript function declaration and definition are done together.

abhishek k
0 0 votes
Article Rating
Subscribe
Notify of
guest

1 Comment
Oldest
Newest Most Voted
trackback

[…] Want to know what is function and how to use them in JavaScript? Just click here. […]

1
0
Would love your thoughts, please comment.x
()
x