Javascript tutorials for beginners | Functions in javascript

Опубликовано: 29 Май 2021
на канале: Sathelli Srikanth
92
9

hello developers..
Getting Started With Javascript | Learn Javascript For Beginners


In this video series we are going to learn modern javascript from scratch. This video is recommended for anyone wanting to learn javascript the modern way with ES2015. No previous programming knowledge is required, so this video series will help you learn javascript as your first programming language.


We will also cover how to create functions and use them to write clean and scoped code in javascript.




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: {}








Things covered in this video:
How to create a function in javascript.
what are arguments and parameters in functions
return statement




for any queries please mention them in comments below
or you can talk to me here
Twitter:   / srikanthsatheli