Presented by: Aakash Biswas
Duration: 12.00 minutes
Watch Tutorial 1: • Learn JavaScript (Tutorial 1)
Watch Tutorial 2: • Learn JavaScript (Tutorial 2)
Watch Tutorial 3: • Learn JavaScript (Tutorial 3)
Watch Tutorial 4: • Learn JavaScript (Tutorial 4)
Watch Tutorial 5: • Learn JavaScript (Tutorial 5)
Watch Tutorial 6: • Learn JavaScript (Tutorial 6)
Functions
A function is a block of code designed to perform a particular task.
A function is defined with the function keyword, followed by a name, followed by parentheses.
Function names can contain letters, digits, underscores, and dollar signs.
The parentheses can have parameter separated by commas.
When a function reaches a return statement it will stop executing the block of code.
The return statement returns a value.
If the function was invoked from a statement, JavaScript will return to execute the code after the invoking statement.
Functions often compute a return value.
The return value is returned back to the caller.
On this page of the site you can watch the video online Learn JavaScript (Tutorial 7) with a duration of hours minute second in good quality, which was uploaded by the user WEBoLOGY. in 03 December 2017, share the link with friends and acquaintances, this video has already been watched 21 times on youtube and it was liked by 1 viewers. Enjoy your viewing!