SHARE

Donate via PayPal – https://www.paypal.me/thenetninja
Donate via Patreon – https://www.patreon.com/thenetninja

Yo ninjas, in this NodeJS tutorial, I’ll be go over something we’ll be using a fair amount in this tutorial playlist – function expressions.

—– COURSE LINKS:
+ Repo – https://github.com/iamshaunjp/node-js-playlist
+ Atom editor – https://atom.io/

———————————————————————————————
You can find more front-end development tutorials on CSS, HTML, JavaScript, jQuery, WordPress & more on the channel homepage…

SUBSCRIBE TO CHANNEL – https://www.youtube.com/channel/UCW5YeuERMmlnqo4oq8vwUpg?sub_confirmation=1

========== JavaScript for Beginners Playlist ==========

https://www.youtube.com/playlist?list=PL4cUxeGkcC9i9Ae2D9Ee1RvylH38dKuET

============ CSS for Beginners Playlist =============

https://www.youtube.com/playlist?list=PL4cUxeGkcC9gQeDH6xYhmO-db2mhoTSrT

============== The Net Ninja =====================

For more front-end development tutorials & to black-belt your coding skills, head over to – https://www.youtube.com/channel/UCW5YeuERMmlnqo4oq8vwUpg or http://thenetninja.co.uk

================== Social Links ==================

Twitter – @TheNetNinja – https://twitter.com/thenetninjauk

36 COMMENTS

  1. I can't help but think that passing anonymous functions is a great way to make code VERY hard to debug. Especially if variables containing functions come from mysterious places.

  2. Hey, great series so far. Could you explain in what situation using an anonymous function would be the better choice? It just seems harder to debug in more complex programs and I can't really see the benefit over named functions which to me look a lot cleaner and just makes code easier to understand 6 months down the road.

  3. new to atom and just realized that it want a console.log() for auto-completion just write log instead of console first and it'll autocomplete it.

  4. This is awesome, What I am struggling to understand is the overall anatomy of a web development, thank you for explaining how Node fits in the picture, but my head is hurting trying to put all the other pieces in place, like angular, grunt, services, servers… ahhhh! maybe I will feel better once I finish this tutorial but would love a helicopter view of javascript web development… Thank you again for being so splendid!

  5. Awesome tutorials ๐Ÿ™‚
    But one silly question i have – can anyone explain me that why these function expressions has been created ? As we already have function statements to achieve the things.

  6. Dude, thank you very much! I have been looking for tutorials at my paste for ages! You explain very well! ๐Ÿ™‚

  7. Silly webbit you didn't say what is difference between function and function expression. What's hoisting etc etc… Nice tutorials btw ๐Ÿ™‚

  8. A Doubt: You have invoked the above function CallFunction() .. which in turn runs the fun();

    How the fun(); is linking with the SayBye Variable ??? Sir

  9. Certainly this is the best node js tutorial on youtube. All the videos in the playlist are excellent. The tutorials are simple, interesting, focus on the driving the points home effectively. The to-do application demo is also outstanding. Thank you for making such a wonderful and comprehensive tutorial. Anyone who has visited the video, kindly watch all the videos in the playlist:

  10. function callfunction(anfun,value) {
    anfun(value);
    }

    var sayhi = function (value) {
    console.log('hi '+value);
    };
    var saybye = function (value) {
    console.log('bye '+value);
    };

    callfunction(sayhi, 'Fugu');
    callfunction(saybye,'Max');

  11. Learn to write sweet code over here at SweetCode. I'm aiming to make my tutorials very basic and easy to follow for beginners.

  12. What is the difference between the 2 though? I get how the both work, but why is function name() {} different to var name = function(){}. They must do something differently?

    Thanks for these tutorials, they're great!

LEAVE A REPLY

Please enter your comment!
Please enter your name here