• Monday , 9 December 2019

#14 JavaScript Tutorial | Functions

Code Canyon



Functions are one of the fundamental building blocks in JavaScript.
A function is a JavaScript procedure—a set of statements that performs a task or calculates a value.
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).
Why Functions?
You can reuse code: Define the code once, and use it many times.
You can use the same code many times with different arguments, to produce different results.
For Program code, info & more resources checkout this article – https://simplesnippets.tech/functions-in-javascript/
Video by – Tanmay Sakpal
Simple Snippets Channel link – https://www.youtube.com/simplesnippets

Original source

3d Ocean

Related Posts

21 Comments

  1. anshika chowdhury
    November 13, 2019 at 18:45

    Hi sir i just love your tutorials …..i felt a fish out of water at school when i coundnt understand javascript …….Can you please provide a css tutorial as well ….

  2. Suraj Mahato
    November 13, 2019 at 18:45

    Why we need to return values when we can get output without using return and printing values in function block

  3. Nikita Chelani
    November 13, 2019 at 18:45

    Sir what to do if I want to take the values of a and b from the user??

  4. Joshua Jash
    November 13, 2019 at 18:45

    still i have to know y we are using the return statement…..it returns to where?

  5. Joshua Jash
    November 13, 2019 at 18:45

    i noted that .the word output automatically changed

  6. srikanth Reddy
    November 13, 2019 at 18:45

    Can you do video on => function

  7. SUBHAM PANDEY
    November 13, 2019 at 18:45

    function FilterUtils(){
    this.HSVtoRGB = function (h, s, v){
    return [r * 255, g * 255, b * 255];
    };
    this.RGBtoHSV = function (r, g, b){
    r = r/255; g = g/255; b = b/255;

    return false;
    };
    }

    can anybody tell what type of syntax is this? plz

  8. Unbiased clip
    November 13, 2019 at 18:45

    Bro …. please make another video on Call back function or higher order function… because call back function is little more tricky….

  9. sushma vagwala
    November 13, 2019 at 18:45

    Can u plzzz tell me the duration of the course sir!!

  10. Abhishek Dhillon
    November 13, 2019 at 18:45

    also can we write ?
    var output = function add_2_num(a, b)
    {
    total = a + b;
    return total ;
    }

  11. PANKAJ KUMAR
    November 13, 2019 at 18:45

    what is constructor sir….i am beginner in programming

  12. Zulfequar Ali
    November 13, 2019 at 18:45

    Its a very important video for JavaScript novice learners. Friends, learn more by playing with functions and do experiments on your own.

  13. chirayu joshi
    November 13, 2019 at 18:45

    Is function overloading possible in javaScript ?

  14. Chethan Prabhu
    November 13, 2019 at 18:45

    Great video. Btw along with _ we can also use $ in between variable names

  15. reshma gaikwad
    November 13, 2019 at 18:45

    Thanks sir for this videos on javascript

  16. amit prajapati
    November 13, 2019 at 18:45

    Thanks you sir for the content. 😊

  17. Sam Husen
    November 13, 2019 at 18:45

    Can you make videos on How JS works.Very much I understand.Heap memory,Call stack,stack overflow,synchronous,asynchronous,JIT compiler.

  18. Rajan Gupta
    November 13, 2019 at 18:45

    Make one dedicated video on Data structures plz

  19. Aryan Kumar
    November 13, 2019 at 18:45

    Sir first of all my name is Aryan and i have a query about which stream I should choose after 10th class ??
    IT or CS….
    please reply

  20. Avishek Chakrabarty
    November 13, 2019 at 18:45

    What is parseInt?

  21. MANISH SHARMA
    November 13, 2019 at 18:45

    Bhut badiya…
    First comment..❤️

Leave A Comment

You must be logged in to post a comment.