-- :: Javascript Function -- ::
Welcome to code Bengali Channel, we will see function in javascript in Bengali Tutorial. A JavaScript function is a block of code designed to perform a particular task.
A JavaScript function is executed when something invokes it (calls it).
JavaScript Function Syntax
A JavaScript function is defined with the function keyword, followed by a name, followed by parentheses ().
Function names can contain letters, digits, underscores, and dollar signs same rules as variables.
The parentheses may include parameter names separated by commas:
(parameter1, parameter2, ...)
The code to be executed, by the function, is placed inside curly brackets: { }
Guys, Please support my code Bengali channel by SUBSCRIBE to my channel and please Like My videos for Motivation share my videos in your Social Network.