QUICK & EASY GUIDE TO FUNCTIONS IN JAVASCRIPT

Daminda Dinesh Imaduwa Gamage
5 min readMay 4, 2022
Photo by Luca Bravo on Unsplash

What are JavaScript functions?

Functions are one of the main building blocks in JavaScript. Functions can have different syntaxes. In this post, we are going to look at some useful points that every developer should know.

The function is a statement that takes an input, makes use of those input/inputs, and returns a useful output.

--

--