FIRST CLASS FUNCTIONS 🔥ft. Anonymous Functions | Namaste JavaScript Ep. 13

  Рет қаралды 485,274

Akshay Saini

Akshay Saini

Күн бұрын

Пікірлер: 792
@akshaymarch7
@akshaymarch7 3 жыл бұрын
How was this video? Let me know in the comments below, I read each and every comment! ❤️ Next Video: Callback Functions in Js & Event Listeners 🔥 - kzbin.info/www/bejne/mKXNZGianZiSi5o
@VishalVerma-wn4by
@VishalVerma-wn4by 3 жыл бұрын
LOVED THE SERIES, DONT KNOW WHY ONLY 7K VIEWS. SHOUTOUT TO ALL JS ASPIRANTS, DONT WASTE TIME. COME HERE FIRST. YOU WILL HAVE BETTER UNDERSTANDING ANYWHERE ELSE AFTER THIS.
@ahmedmuhammedelsaid5345
@ahmedmuhammedelsaid5345 3 жыл бұрын
it was one of the best videos and heavy one in this series really .
@monikasinha4985
@monikasinha4985 3 жыл бұрын
Great video Akshay
@simple8810
@simple8810 3 жыл бұрын
Sir we request you to make one long video like this about ES6 ,that covers everything about ES6,,,,,plzz
@ankuragarwal4014
@ankuragarwal4014 3 жыл бұрын
Please make video on behaviour of this keyword in javascript
@AmanMishra-pn3cq
@AmanMishra-pn3cq 2 жыл бұрын
Things learned: 1. What is Function Statement ? A. A normal function that we create using Naming convention. & By this we can do the Hoisting. For Ex - function xyz(){ console.log("Function Statement"); } 2. What is Function Expression ? A. When we assign a function into a variable that is Function Expression. & We can not do Hoisting by this becz it acts like variable. For Ex - var a = function(){ console.log("Function Expression"); } 3. What is Anonymous Function ? A. A Function without the name is known as Anonymous Function. & It is used in a place where function are treated as value. For Ex - function(){ } 4. What is Named Function Expression ? A. A function with a name is known as Named Function Expression. For Ex - var a = function xyx(){ console.log("Names Function Expression"); } 5. Difference b/w Parameters and Arguments ? A. When we creating a function & put some variabels in this ( ) that is our Parameters. For Ex - function ab( param1, param2 ){ console.log(" } & When we call this function & pass a variabel in this ( ) that is our Arguments For Ex - ab( 4, 5 ); 6. What is First Class Function Or First class citizens? A. The Ability of use function as value, * Can be passed as an Argument, * Can be executed inside a closured function & * Can be taken as return form. For Ex - var b = function(param){ return function xyz(){ console.log(" F C F "); } } 7. Function are heart of JS. They are called first class citizens or first class functions because they have the ability to be stored in the variables, passed as parameters and arguments. They can also be returned in the function.
@maneesharandeniya
@maneesharandeniya 2 жыл бұрын
"When we assign a function into a variable that is Function Expression. & We can not do Hoisting by this becz it acts like variable." Cannot do hoisting is wrong here. Variable is hoisted. It means It cannot execute as function until it is defined as function.
@AmanMishra-pn3cq
@AmanMishra-pn3cq 2 жыл бұрын
@@maneesharandeniya Oh Thankyou , I will correct it
@differfields1916
@differfields1916 2 жыл бұрын
Thanks😍
@biswaranjanbarik4052
@biswaranjanbarik4052 Жыл бұрын
thanx man.
@sanamahuja2033
@sanamahuja2033 Жыл бұрын
Stmt vs expression. Expr can involves operand and operations. And expression can be assigned a value or executed as a value stmt cause side effect. Fn stmt is same a declaration without assigning it to a var eg. Function a Expr- var a = fn Anonymous without name iife or assignment First class citizens Named fn expr When fn with a name is assigned to a variable also this name is local scoped it can be used for recursion but not outside Arrow fn you know context is same parent
@suman-majhi
@suman-majhi 3 жыл бұрын
akshay bhaiya confused in interview. My ans would be at that point: Every function is beautiful, either it is function expression or it is function statement. 😂😂 love you bhaiya❤️❤️
@0xFOXHOUND
@0xFOXHOUND 3 жыл бұрын
The interview startup's name rhymes with "Tomato" For Revision Function statement / Function Declaration : the function is normally defined and can be used later on Function expression : the function is first created and assigned to a variable so that it can be called by its variable name and unless it is defined, it cannot be executed otherwise it throws out "Uncaught TypeError" Anonymous function : function where there is no need to define name for the function, it just can be assigned to variable Named function : Normal function with its name assigned to a variable !!In this case you cannot call function by its name in outer scope!! (Scope Chain) first class Functions / first class citizens : 1) used as values 2) can be passed as argument 3) can be executed inside a closured function 4) can be taken as return
@AnkitKumar-xk9fe
@AnkitKumar-xk9fe 2 жыл бұрын
❤️
@aryantiwari494
@aryantiwari494 2 жыл бұрын
interviewer is may be arnav gupta
@GauravSharma-ic5rd
@GauravSharma-ic5rd 3 жыл бұрын
This is the first time I binged watched a course and It is really exciting. Feels like you are revealing the story of JavaScript. Eagerly waiting for the next episode
@akshaymarch7
@akshaymarch7 3 жыл бұрын
❤️
@ankuragarwal4014
@ankuragarwal4014 3 жыл бұрын
@@akshaymarch7 Please make video on behaviour of this keyword in javascript
@piesquareisg
@piesquareisg 2 жыл бұрын
Really man!! Can't stop watching from the last 3 hours!!!
@definitelynotrohan
@definitelynotrohan Жыл бұрын
fr fr
@aditisharma2552
@aditisharma2552 3 жыл бұрын
I'm addicted to this series! Watching even in office hours, after office hours, all the time.
@novanoskillz4151
@novanoskillz4151 3 жыл бұрын
I love how akshay didn't do so well at the interview. but he kept pushing forward. he went home and learned everything he needs to know. Now he's so knowledgeable that he's able to teach thousands of people how to also become programmers... #sucessStory
@anshsharma7510
@anshsharma7510 3 жыл бұрын
Again.... And again.... I can't stop saying that it is the most beautiful JS course 🤗🤗
@AnaRamirez-ng1tj
@AnaRamirez-ng1tj 2 жыл бұрын
Words cannot express how much I love this series.
@HemantWagh07
@HemantWagh07 3 жыл бұрын
Arguments are passed to function & Parameters are received in/by function
@anamikayadav9653
@anamikayadav9653 3 жыл бұрын
Nobody could have explained it better. Just a suggestion: Please upload frequently so that more topics can be covered soon. To be honest, we always wait for your new and exciting videos.
@anitasunildesai
@anitasunildesai 7 ай бұрын
Your greatness is accepting your failures and learning from them. If that interviewer was watching this video, she must feel proud of you.
@garimakumari4346
@garimakumari4346 2 ай бұрын
when you said functions are so beautiful so beautiful at time 14:15 sec..i remember one line...functions are so beautiful ,so elegent just looking like a woow. 😃thanks man for this amazing series
@bhanuprakash1863
@bhanuprakash1863 4 күн бұрын
Same here Lol
@LifeAtMH41
@LifeAtMH41 3 жыл бұрын
Interviewer: What are functions in Javascript? Me: Functions are beautiful.. Interviewer kicks my butt 😅😅
@atulmittal3332
@atulmittal3332 3 жыл бұрын
Functions are the heart of Javascript.
@priyanshugupta5559
@priyanshugupta5559 3 жыл бұрын
lol
@pemadechen6982
@pemadechen6982 3 жыл бұрын
hahaha
@HimanshuSingh_92
@HimanshuSingh_92 3 жыл бұрын
Lol
@dr.shreyas123
@dr.shreyas123 3 жыл бұрын
Hahahaha
@aroundtheglobeSwati
@aroundtheglobeSwati 3 жыл бұрын
I've been watching these videos for last 3 days and these are simply awesome and better than many paid courses where the method of teaching is monotonous. These are simply awesome!
@kirtimittal2974
@kirtimittal2974 3 жыл бұрын
I had encounter once "First class citizen" in a js book , but i get to know the real meaning of it after watching this video. Thanks #Akshay for explaining this in so simple terms
@chromashift
@chromashift 2 жыл бұрын
How, HOW did you manage to in one series nail so many (important) aspects & make them so clear; This is much of the stuff that's "hidden" in the "Advanced" section of the MDN documentation. awesome!
@justasimplegal
@justasimplegal 3 жыл бұрын
Kudos to your abilities to explain things so clearly! I am addicted and learning a lot! Plus your extra entertainment factor keeps your viewers engaged☺️
@aayush5474
@aayush5474 3 жыл бұрын
JS functions are the next contenders for Miss Universe
@akshaymarch7
@akshaymarch7 3 жыл бұрын
❤️
@reidwilliamson6477
@reidwilliamson6477 3 жыл бұрын
They are quite beautiful tbh
@rhodesjh
@rhodesjh 3 жыл бұрын
🤣🤣
@rachnamehra3697
@rachnamehra3697 3 жыл бұрын
🤣
@ranjeetrawat1090
@ranjeetrawat1090 2 жыл бұрын
😄😄
@nitinsoni9956
@nitinsoni9956 3 жыл бұрын
This kind of content and explaination are often found in the paid courses. You are doing a fantastic job in explaining such topics and helping fellow programmers 👍👍
@sambasiva4125
@sambasiva4125 3 жыл бұрын
man i completed watch all your javascript videos like as "mirjapur" web series
@nirmalkumar4011
@nirmalkumar4011 2 жыл бұрын
U r not alone
@ayikkathilkarthik4312
@ayikkathilkarthik4312 3 жыл бұрын
Create a video on "this " in JavaScript. It is the most confusing thing in it. Love your way of explanation.
@arnavsingh0
@arnavsingh0 3 жыл бұрын
This is better revenge story than "thukra ke mera pyar". 😂 On a serious note, people may feel little guilty for watching such quality videos for free. Huge Respect for you. 🙏🙏🙏
@akshaymarch7
@akshaymarch7 3 жыл бұрын
Thank you so much for your comment, means a lot! ❤️
@ompandey4595
@ompandey4595 2 жыл бұрын
@@akshaymarch7 pls bhaiya reply how much knowledge of js req for for frontend Do I need to learn like programming or should have basic knowledge
@sachind5667
@sachind5667 2 жыл бұрын
When its 2am and you cant sleep no worriy Akshay is here to give you a good company
@iyashlodaya
@iyashlodaya 2 жыл бұрын
First Class Functions -> The ability to to use functions as values and which can be passed as arguments to another function, and also can be returned from functions. This thing can be answered in sleep now! Well explained Akshay 😃
@prashanttanwar3261
@prashanttanwar3261 3 жыл бұрын
Slowly Slowly lol Epic end of this beautiful video
@akshaymarch7
@akshaymarch7 3 жыл бұрын
Hahaha, glad you noticed. 😂
@simple8810
@simple8810 3 жыл бұрын
sir u r the great watched ur video of interview on javascript that was so much funny u r the man who help us how to learn sth that everyone should be able to survive in the market,,,,ur ways of teaching is totally different from all other youtuber ,,u r just unique..............
@AmanRaj-zo7bx
@AmanRaj-zo7bx 2 жыл бұрын
One more advantage of anonymous function - can be used as IIFE(Immediately Invoked Function Expression) or Self Executing Functions. Ex - (function (){ console.log("This is an Anonymous function"); })();
@Happiness-z7l
@Happiness-z7l 2 жыл бұрын
I'm watching this channel from Iran Much appreciation Akshay You are one of best teachers in JS for sure I loved js before but after knowing your channel i knew why i love js so much😍🙏🏽🙏🏽🙏🏽❤
@farazhusain925
@farazhusain925 3 жыл бұрын
I've completed my master's in mechanical enginnering, and after that, I planned to switch my career in the IT industry. Yesterday, I cracked the first round of interviews for the position of front-end developer. All the questions on JS were from your videos, and I can bet that the interviewer has also watched your Namaste Javascript series.
@syedjunaid6411
@syedjunaid6411 2 жыл бұрын
haha bhai i m also mechanical engineer doing my masters while learning coding in sha allah will get ready for interviews by next 2 or 3 months
@-AjayChauhan
@-AjayChauhan 6 ай бұрын
slowly slowly... YOUR CONTENT IS FABULOUS AND MAKE ME FALL IN LOVE WITH JAVASCRIPT NOW
@rahulk.creative
@rahulk.creative 3 жыл бұрын
Hi Akshay, I am a software engineer and I'm a big fan of javascript. I really like the way you explain. Your explaining skills are amazing. I really love your videos. Hats off to you brother!
@indiansoftwareengineer4899
@indiansoftwareengineer4899 3 жыл бұрын
Bhai, you are putting very high amount of hours into channel for us, thanks a lot for this.....
@syedFAHIM-el1wr
@syedFAHIM-el1wr Жыл бұрын
I have forcefullly stopped here from bingewatching the playlist...along with maintaining proper notes I havent binge watched an educational content like this..... kuch to jadu hai isme..... very crystal clear explanation.
@SrinubabuRavilla
@SrinubabuRavilla Жыл бұрын
Many were said the JavaScript is beautiful but they didn't project as beautiful. But if you said it is beautiful you make it beautiful.... JS Guru.
@poojapal-iy4vi
@poojapal-iy4vi 3 жыл бұрын
Please complete this series as early as you can it's amazing and there is lot of thing left to cover...
@ApurvKhare
@ApurvKhare 3 жыл бұрын
If you ever create a paid course on anything revolving around Javascript like Node or React, I'll definitely buy it. There is sooooooooo much to learn from you.
@mdfaiyazulhussain8752
@mdfaiyazulhussain8752 2 жыл бұрын
The Efforts he makes in all this content is I haven't seen anywhere guys press like button we should also give back.
@shubhamh7451
@shubhamh7451 3 жыл бұрын
holy shit, i had an interview today and I definitely made fool of myself. For sure! But then good to see, even Akshay bhayya has made fool of himself sometime😂. Beautifully explained, can't thank enough!
@Ranjeetvishwakarma-72
@Ranjeetvishwakarma-72 Ай бұрын
In Simple term - Function are so beautyful so elegant just looking like a wow🌸👌
@balajisv4052
@balajisv4052 3 жыл бұрын
"The interviewer was looking straight at my face". I could feel the nervousness in my stomach, while you are explaining it. :p I wish, the interviewer asks the same question to any one of your viewers in any upcoming interviews, and they nail it.
@akshaymarch7
@akshaymarch7 3 жыл бұрын
Yeah, time to upskill ourselves and nail the interviews. 🔥
@saveribandyopadhyay1488
@saveribandyopadhyay1488 2 жыл бұрын
I feel helpless if I don't find any specific topic in your series. I am addicted to this series.. Thanks Akshay.. Plsssssss post a video separately on arrow functions and how it works behind the scene. pls pls plsss...
@ToonGalaxyTales
@ToonGalaxyTales 3 жыл бұрын
@Akshay Saini, you are putting hard effort to make us understand on JS. This is something unique.
@SamAbaasi
@SamAbaasi 2 жыл бұрын
Namaste Akshay...Thank you so much...I work for 3 years with JS and after watching your tutorial I understand what is JS and how work
@codenerd7061
@codenerd7061 2 жыл бұрын
I'm paid money to the same Course which is free on KZbin and your explanation and love and passion towards teaching is great
@Rachana453
@Rachana453 3 жыл бұрын
Functions are very beautiful in JavaScript. Its heart of JavaScript
@ChillCityNaveen
@ChillCityNaveen Жыл бұрын
literally before starting the video itself am searching where is the like button thats how I am attached to your videos thanks for this whole series and i bought Namaste React series as well you impressed most of the frontend guys love you brother 😍❤
@harshithvenkatesh2053
@harshithvenkatesh2053 3 жыл бұрын
Namaste Javascript is one of the best thing that has started in 2020 :D
@tanujupreti
@tanujupreti 3 жыл бұрын
Or the only good thing that happened this year 😂
@anupam6045
@anupam6045 2 ай бұрын
function is heart of javascript and javascript is heart of akshay bhiaya, no one can teach js better than him
@saubhagyasahoo9359
@saubhagyasahoo9359 3 жыл бұрын
This is the only series that I watch without any skip, without any second thought of learning from somewhere else......because of the way u teach sir.......it builds a person's trust in you that yes your videos are enough to know everything in Javascript.......thank you so much for teaching and please never stop sharing your knowledge with us.
@akshaysharma30498
@akshaysharma30498 3 жыл бұрын
You are the type of guy I can sit and have long conversations with, without getting bored. I like learning new stuff and going to my workplace and tell others about it, unfortunately "That's so cool" isn't the reaction that you get from most people because knowledge doesn't make people go "That's so cool" usually. But it does to me and I assume you'd react the same way too XD I have a workplace senior I hang around with for most of the free time coz we both fall in this category. Thanks for all the videos. I must admit tho I'm jealous coz I like explaining stuff with same enthusiasm as you but ... nobody would listen to me and then it just feels like it doesn't matter that I know it :/
@shivammal1294
@shivammal1294 Жыл бұрын
Closure: are function with its lexical environment. Promise: eventually completion of asynchronous task Hoisting: variables are allocated memory and initialise as undefined on top of the program
@ayushrathour4799
@ayushrathour4799 5 ай бұрын
I dont know why i feel so safe studying from ur videos.......the senior we all want I guess. The song edited at last part is so entertaining
@Imran35930
@Imran35930 3 жыл бұрын
First video of yours, I watched on KZbin was "async vs defer attributes in Javascript" almost 1.5 year back. I watched it so many times, almost before every interview and I commented first time on KZbin because that explanation compelled me to write something in comment and I wrote "I usually don't comment on YT but you compelled me to do so" and I got a reply from Akshay sir/Akshay bhai/Ustaad ... from that day only, I am addicted to write these long comments and I usually got reply from Akshay bhai. Thank you so much. We (the student of yours) will always remember you. You will be remembered for you great work forever. Love
@akshaymarch7
@akshaymarch7 3 жыл бұрын
Love you, brother! ❤️
@akshaymarch7
@akshaymarch7 3 жыл бұрын
Thank you for such a beautiful comment, it means a lot. So happy to know that you're watching videos since async and defer video. We have come a long way together. Thank you for growing along with me during this beautiful journey of KZbin. ❤️
@akhila.sakhila9018
@akhila.sakhila9018 3 жыл бұрын
you saved my time to get this structured overview of function concept in js in one vedio within 22minutes that i had been postponing for days . An heart to you♥️
@gautamverma9762
@gautamverma9762 2 жыл бұрын
Akshay sir you made me fall in love with learning, which i hated till now even after graduating . Thanks a bunch sir, your method of teaching is next class and soo understandable as well as exciting. I got your channel referred from one of your friends and i am glad that he did.
@muhammadhusnain8201
@muhammadhusnain8201 3 жыл бұрын
You literatally deserve more than one thumsUp dud❤️
@amanjha3346
@amanjha3346 2 жыл бұрын
Akshay you hail the lord function concept of Javascript....🤓🤓
@nvnsyaswanth
@nvnsyaswanth 3 жыл бұрын
Came across this series a little late. But completed all 15 videos in 2 days along with practice. I'm addicted to this :P Thank you very much bro..
@giridharreddy1997
@giridharreddy1997 Жыл бұрын
Dude if I had your address... i would have definitely reached out to you because I have become a fan of yours for being such a professor who would not have been thought by the inventors of Javascript.... Thank you soo... sooo.. much .... I know money does give happiness but not satisfaction .... I believe you are satisfied by making many of us understanding javascript the way it is .... Hands off to you man... Hands off....
@dawah7556
@dawah7556 3 жыл бұрын
Will you please cover some DOM concepts in your Next videos that will be really helpful. Thank you for all your efforts to teach us.♥️♥️
@mohammadsaleem2811
@mohammadsaleem2811 Жыл бұрын
I have been learning JS for over two years and there were so many basic concepts that didn't make sense to me despite watching hundreds of videos. Man the way you explain the concepts and what's actually happening "behind the screen" makes so much sense. You are truly a gem.
@RahulSharma-bo5jc
@RahulSharma-bo5jc 2 жыл бұрын
Each Video in the series have a special Outro music 😂♥️. Just love it. Amazing series. Before watching this series, I thought i knew javascript, Now I understand it completely i feel. Thank you for this series. ♥️♥️
@OnlineSchoolAbir
@OnlineSchoolAbir 2 жыл бұрын
Right now the interviewer thought, Owwhh I lost the diamond in search of gold. Love from Bangladesh
@akshaymarch7
@akshaymarch7 2 жыл бұрын
Love from India 🇮🇳
@aj_shela
@aj_shela 2 жыл бұрын
Can't believe you were nervous in the interview... For that startup: In search of gold they lost the diamond Thanks for this amazing series.
@status_king9104
@status_king9104 8 ай бұрын
If your interviewer is Akshay Saini and if he asks you What are functions in JS? Just say "Functions are heart of JavaScript". You will be hired.😂 . Best video for functions jn JS.
@JustinPhilip1
@JustinPhilip1 3 жыл бұрын
I was asked this same sort of questions, as your initial 2 mins with the interviewer, and i just blabbered it something else. Now i would want to get interviewed again. LOL, Thanks Akshay bhaiya !
@sachidananddwivedi1674
@sachidananddwivedi1674 3 жыл бұрын
Slowly slowly..slowly slowly..we fall in love with js ❤️❤️❤️
@iemhkalra
@iemhkalra Жыл бұрын
0. Function statement is same as function declaration. 1. Named function expression vs anonymous function expression. 2. Higher Order functions / Functions are first class citizens 3. Parameters vs arguments in functions
@shubhamlakhara7185
@shubhamlakhara7185 2 жыл бұрын
Bhaiya ji you are fire I'm trying to understand what is function expression and declartion from articles, some of examples but ghnta kuch smj me aaya and now I random search on youtube and find you without a single minute blink my eyes and watch your video in single shot and got my answer what exactly function are thank you so much 🙏🙏🙏🙏🙏🙏🙏🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥
@manishkvig9177
@manishkvig9177 2 жыл бұрын
Your way of explaining the concepts are really good, can we expect the ReactJS series in the future? Thanks for these wonderful JS Series.
@simple8810
@simple8810 3 жыл бұрын
all doubt about functions and everything about function explanation in one video, you're amazing sir thanks ,we are learning Js now......
@monikabhardwaj9105
@monikabhardwaj9105 2 жыл бұрын
Cleared the concept very well, this series has something for all the people from freshers to college students to experience people.
@SakibulIslam--
@SakibulIslam-- Жыл бұрын
1. An anonymous function is a function that does not have a name. we can not declare an anonymous function. it,s gives a syntax error. if we store anonymous function in a variable, it,s known as a function expression. we use anonymous function only as a value. 2. One common use case for anonymous functions is as callback functions, which are functions that are passed as arguments to other functions. 3. In JavaScript, functions are considered to be first-class citizens. just because of 1 . we can use Functions as values. 2. we can use Functions as arguments 3. we can use Functions as return values 4. difference between a function statement or declaration with a function expression and an arrow function is hoisting.
@m-3774
@m-3774 3 жыл бұрын
I am coming from LinkedIn post, I appreciate your hard work 🤗
@BlackZero880
@BlackZero880 9 ай бұрын
I have my interview by 4:00 PM, Love you Akshay ❤
@Siva-lx9dw
@Siva-lx9dw 3 жыл бұрын
FUNCTIONS ARE VERY BEAUTIFUL IN JAVASCRIPT 😍😍
@MallikarjunaGoud18
@MallikarjunaGoud18 2 жыл бұрын
Once in a time i addicted to triller web series. Now your videos on Java script🔥. I loved the way explain the concepts❤️
@one.mr.benjamin
@one.mr.benjamin 3 жыл бұрын
Sick Outro - One Dance, using it even before the trend. Always ahead of Game. 🔥
@apoorvgupta683
@apoorvgupta683 3 жыл бұрын
Akshay - “ Trust me, i am not going anywhere “. Bro come back, we need your videos. Promise, CSR vs SSR, this paradox etc etc. We are hanging now in middle bruh! Kidding, i hope everything is well, and if you have lost zeal, think so many people/fans are waiting and dependent on you. Use this as a social responsibility or motivation. Whatever works for you Summing up - “Keep up the good work, please. Take it literally”
@akshaymarch7
@akshaymarch7 3 жыл бұрын
I haven't lost zeal, teaching is something which I love to do and will keep doing forever. Just got busy with some personal issues. I'll be back soon. 😇🙏
@riyazahmedpathan3850
@riyazahmedpathan3850 9 ай бұрын
Functions in JavaScript :- ‘So beautiful, so elegant, just looking like a wow!’ 😅😂
@vinothkumarv9722
@vinothkumarv9722 3 жыл бұрын
Vinoth Love >> Akshay: Wow amazing 😍 function series more explanation... Super. 16:36 and 19:28 is I guessed perfect because last video too much clearly understood me And mainly here j Learned important context from function arg and parameters means what where is used.. before would say many time arg and parameters but not clear but today I clear both this where needee call correct name. Super Akshay.. really amazing... waiting for next video soon... Thanking you Namaste 🙏🙏🙏🙏🙏🙏❤️❤️❤️❤️❤️❤️❤️❤️❤️ Javascript. .
@wabbyshabby
@wabbyshabby Жыл бұрын
Learning a LOT slowly slowly, slowly, slowly, slowly slowly 😋
@parthojha6938
@parthojha6938 11 ай бұрын
This is the first time i've binged watch the whole course, and really getting interested more and more
@FitnessHacksWithAjay
@FitnessHacksWithAjay 2 жыл бұрын
I am watching this video series from last 2 days and it's mind blowing I must say! The way you have taught in whole series is better than any paid course and interesting.
@sandorturbucz425
@sandorturbucz425 Жыл бұрын
Awesome as always. Am I the only one not finding that arrow function episode? :D
@TW-uk1xi
@TW-uk1xi 6 ай бұрын
The way you have explained, now i am also able to understand why function is also first class citizen in python
@shreyasingh1258
@shreyasingh1258 3 жыл бұрын
these videos never fails to add dozens of values to my prior JS knowledge!
@KrishnaYadav-zu5oz
@KrishnaYadav-zu5oz 3 жыл бұрын
🙏🙏 sir really aap great ho Mera graduation ho gya IT se muje ab. Clear hua ye ❤️🙏🙏🙏
@ankittyagi1178
@ankittyagi1178 2 жыл бұрын
your channel is my new Netflix .
@himanshubhandari7222
@himanshubhandari7222 3 жыл бұрын
And that interviewer might be watching this video to understand the concept in detail.. 😂 Love from Dehradun ❤️
@delmayank
@delmayank 3 жыл бұрын
Good job. Keep it up. I am reiterating here once again. "Why do people watch Carryminati videos?". I mean what the heck do they learn from it.
@DheerajKumar-tk3vt
@DheerajKumar-tk3vt 3 жыл бұрын
Literally I fell in love with Javascript because of you bro🙂Thank you so much for sharing this knowledge 🙂
@sergiisechka1993
@sergiisechka1993 2 жыл бұрын
Akshay! Me and my friends consider you as the very Best teacher on youtube!
@monikan9854
@monikan9854 2 жыл бұрын
Thanks for revealing the underhood of javascript .. as u said i used to work on these all but didn't knowing the things which you explained! Thanks for this life saving tutorial🙏❤️
@deeniyath229
@deeniyath229 Жыл бұрын
Remember points 1.Function declaration or statement? a.funtion with keyword function and name is called function declaration or statement 2.function expression? a. When function is declared with a variable is called function expression for ex like this var a= function (){} So the main difference between expression and declaration is in the concept of hoisting we can't call the expression function before initialisation 3.anonymous function? a. Function without a name is called anonymous function when we try to call the function it is give error ex function (){} 4.first class functions? The function is used as a value and used as a argument in other functions, and return the functions inside other functions together is called first-class functions or first class citizens
@Saikrishna-mw5ti
@Saikrishna-mw5ti Жыл бұрын
In JavaScript, functions are a fundamental building block of the language. Here are brief explanations of some important concepts related to functions in JavaScript: Function Statement: A function statement is used to declare a named function. It uses the function keyword followed by the function name, a list of parameters (in parentheses), and the function body (in curly braces). Example: javascript function greet(name) { console.log(`Hello, ${name}!`); } Function Expression: A function expression is used to create a function value and assign it to a variable or a property of an object. It can be either anonymous or named. Example: javascript const greet = function(name) { console.log(`Hello, ${name}!`); } Function Declaration: A function declaration is a statement that declares a named function in the current scope. It is similar to a function statement, but can be used inside any block, not just at the top level. Example: javascript if (someCondition) { function greet(name) { console.log(`Hello, ${name}!`); } } else { function greet(name) { console.log(`Hi, ${name}!`); } } Anonymous Function: An anonymous function is a function without a name. It can be defined using a function expression or passed as an argument to another function. Example: javascript setTimeout(function() { console.log("Time's up!"); }, 5000); Named Function Expression: A named function expression is a function expression with a name. The name can be used to refer to the function inside the function body or from outside. Example: javascript const greet = function sayHello(name) { console.log(`Hello, ${name}!`); } greet("Alice"); // "Hello, Alice!" sayHello("Bob"); // ReferenceError: sayHello is not defined Parameters and Arguments: Parameters are the named variables that are defined as part of a function declaration or expression. Arguments are the values that are passed to a function when it is called. Example: sql function sum(a, b) { return a + b; } const result = sum(2, 3); // arguments: 2, 3; parameter names: a, b console.log(result); // 5 First-Class Functions: In JavaScript, functions are first-class citizens, which means they can be treated like any other value. They can be assigned to variables, passed as arguments, and returned from functions. Example: javascript function sayHello(name) { console.log(`Hello, ${name}!`); } const greeting = sayHello; // assigning a function to a variable greeting("Alice"); // "Hello, Alice!" Arrow Functions: Arrow functions are a shorthand syntax for defining functions. They use the => symbol to separate the parameter list from the function body, and can have an implicit return value if the body is a single expression. Example: javascript const greet = (name) => { console.log(`Hello, ${name}!`); }; const double = (x) => x * 2; // implicit return value
@neelthakkar4492
@neelthakkar4492 3 жыл бұрын
Huge thanks for this video. I was really a person who used to get confused when it comes to wordings used in books and blogs but now i feel like most of the confusion should be gone. Appreciate you man.❤️
@HominisLupis
@HominisLupis 2 жыл бұрын
Akshay, I need a Namaste Javascript tee or hoodie man. I'm in the beginnings of my programming journey, and this course makes me feel that I can, without it taking years, understand this crazy world of Front End Dev, ie, Javascript.
@vitalvisions4U
@vitalvisions4U 3 жыл бұрын
I'll remembere this for lifetime - first class functions have ability to use function as values to pass it to another function or to return it from a function.
Closures in JS 🔥 | Namaste JavaScript Episode 10
22:44
Akshay Saini
Рет қаралды 829 М.
when you have plan B 😂
00:11
Andrey Grechka
Рет қаралды 63 МЛН
哈莉奎因怎么变骷髅了#小丑 #shorts
00:19
好人小丑
Рет қаралды 48 МЛН
Поветкин заставил себя уважать!
01:00
МИНУС БАЛЛ
Рет қаралды 5 МЛН
Worst flight ever
00:55
Adam W
Рет қаралды 14 МЛН
2.5 Years Experienced Best JavaScript Interview
2:03:06
Anurag Singh ProCodrr
Рет қаралды 257 М.
CRAZY JS INTERVIEW 🤯ft. Closures | Namaste 🙏 JavaScript Ep. 12
32:45
No, Einstein Didn’t Solve the Biggest Problem in Physics
8:04
Sabine Hossenfelder
Рет қаралды 295 М.
map, filter & reduce 🙏 Namaste JavaScript Ep. 19 🔥
37:42
Akshay Saini
Рет қаралды 902 М.
JavaScript Functions Crash Course
1:36:54
freeCodeCamp.org
Рет қаралды 174 М.
JavaScript Pure Functions - Tutorial for beginners
19:20
ColorCode
Рет қаралды 13 М.
when you have plan B 😂
00:11
Andrey Grechka
Рет қаралды 63 МЛН