#77 JavaScript Bangla Tutorial | JavaScript Function Closures

แชร์
ฝัง
  • เผยแพร่เมื่อ 20 ก.ย. 2024
  • In this Part 77 video of JavaScript Bangla Tutorial Series for Beginners, I have explained about JavaScript function Closures.
    ❒ Complete Playlist Link - lwsbd.link/sta...
    References:
    👍 w3schools JavaScript Tutorial Series - www.w3schools....
    👍 My Closures Detail Video - • JavaScript Closures ar...
    কোন প্রশ্ন থাকলে comment section এ comment করতে পারেন। সেই সাথে আমাদের একটি Facebook Group আছে। সেখানেও আপনার প্রশ্ন করতে পারেন। সব প্রয়োজনীয় link নিচে দেয়া হলো -
    👍 Facebook Group - groups/...
    👍 Like our Facebook Page - LetsLea...
    👍 Follow our GitHub Profile - github.com/lea...
    👍 Follow us at Instagram - / learnwithsumit
    👍 Follow me at - sumit.a...
    👍 Learn with Sumit Official VS Code Theme - lwsbd.link/vst
    #javascript #js

ความคิดเห็น • 84

  • @programmingforfun4158
    @programmingforfun4158 2 ปีที่แล้ว +12

    Totally speechless. I dont know how to thank this guy. I was confused about closure. But now I can give a lecture myself on what exactly closure is. Thanks bro. Keep it up.

    • @LearnwithSumit
      @LearnwithSumit  2 ปีที่แล้ว +6

      Take love.

    • @Takatou__Yogiri
      @Takatou__Yogiri 7 หลายเดือนก่อน +1

      same. I literally wrote 3 pages of examples about what a closure is after watching this video.

  • @mdsa-ad
    @mdsa-ad 2 ปีที่แล้ว +14

    ভাই, আপনার এই জাভাস্ক্রিপ্ট টিউটোরিয়াল সিরিজটা দেখার আগে থেকেই আমি জাভাস্ক্রিপ্ট মোটামুটি জানতাম। কিন্তু, এটাকে সেভাবে অনুভব করতে পারিনি। পাশাপাশি অনেকের প্রোফাইলে গিয়ে দেখতাম বায়োতে জাভাস্ক্রিপ্ট লাভার লেখা। এটা দেখে আমার কাছে একটু আশ্চর্য লাগত। চিন্তা করতাম এটার মধ্যে এমন কি আছে যে লাভার হতে হবে!! কিন্তু এখন বুঝতে পারছি , আমি আসলে জাভাস্ক্রিপ্টকে এতদিন প্রোপারলি ডিস্কাভার করতে পারিনি বলে এটার প্রেমে পড়িনি।
    Now I must have to say, I'm in love with javascript. And most importantly this was possible only because of you.
    ❤ you brother.

    • @LearnwithSumit
      @LearnwithSumit  2 ปีที่แล้ว +11

      যাক আমার উদ্দেশ্য সফল। শুভকামনা।

    • @pulackhassan6178
      @pulackhassan6178 2 ปีที่แล้ว

      same to you bro.

  • @mdgalibhasan.2847
    @mdgalibhasan.2847 2 ปีที่แล้ว +4

    function এর উপর আরও দুএকটা ভিডিও দেওয়ার সর্বোচ্চ অনুরোধ থাকল।যেহেতু এটা বিগিনার সিরিজ। এখনও জটিল function দেখলে বা একটু বেশি nested হলে আর মাথায় কাজ করে না।আস্তে আস্তে একটু জটিল,আরও জটিল,এর পর তীব্র জটিল কিছু function আলোচনা করার সবিনয় অনুরোধ রইল।

  • @shakilahmed-eq4re
    @shakilahmed-eq4re ปีที่แล้ว +1

    গতকাল টার্গেট নিয়েছি, আগামী দুইদিন শুধু ক্লোজারের উপর টাইম দিবো, সকালে ঘুম থেকে উঠে আপনার এক ঘন্টা ১০ মিনিটের ভিডিও টা দেখে এখন এটা দেখলাম, আলহামদুলিল্লাহ একদম কনসেপ্ট ক্লেয়ার🥰।
    থ্যাংকস ভাই, আপনি আল্লাহর পক্ষ থেকে আমাদের জন্য বিশেষ নিয়ামত। আপনি রত্ন ভাই। নিজ ভাষায় এত সুন্দর ডিটেইলস এ প্রোগ্রামিং এর মত কমপ্লেক্স জিনিস টাকে ভালোবাসায় পরিণত করতেছেন। ভালোবাসি ভাই❤️❤️❤️

  • @ashimroyrupok
    @ashimroyrupok 9 หลายเดือนก่อน +1

    অনেক অনেক ধন্যবাদ দাদা।এতো সহজে বুঝানোর জন্💝💝💝💝

  • @sumaiyajannat4306
    @sumaiyajannat4306 3 หลายเดือนก่อน

    ধন্যবাদ দাদা আপনাকে এতো সুন্দর করে বোঝানোর জন্য। আপনার ভিডিও গলো যত দেখছি ততই অভিভূত হচ্ছি।

  • @shantosarker2978
    @shantosarker2978 2 ปีที่แล้ว +2

    Its a bleesing to all of us that a person like you start listening javascript in our own language . Its totally impressive dada. ❤🙏

  • @shahipapon833
    @shahipapon833 ปีที่แล้ว +2

    Finally. A great life & time saver. I have ruined all of time time to understand perfectly what a closure is ! But truly this 30 minutes has given me peace of mind. I cannot express my gratitude to you. 💌

  • @rashed_raju
    @rashed_raju 2 ปีที่แล้ว +3

    Great bangla tutorial series i had ever seen, no doubt. Lots of thanks for this mind blowing dedication. Thanks

  • @sadatarefinrafat
    @sadatarefinrafat 2 ปีที่แล้ว +1

    Interview te asolei onek ask kore, closure niye. Last bar answer disilam, onno language er private variable er moto kaj kore.
    but JS e seta niye kaj korte partam na. Ekhon valovabe bujhlam implmentation ta. Thanks dada!

  • @mushfiqaraf5079
    @mushfiqaraf5079 2 ปีที่แล้ว +3

    w3schools added 'function bind' in their syllabus after 'apply' section.
    Sir, তাহলে আপনি bind নিয়ে নতুন ভিডিও add করবেন না? :((

  • @gantabyaprottoy
    @gantabyaprottoy ปีที่แล้ว +1

    The concept of closures was somehow not entering the mind. After watching this video of yours, it seems that the concept of Closures is somehow not to be forgotten. I am eternally grateful to you.

  • @nasirahmed000
    @nasirahmed000 5 หลายเดือนก่อน

    I clear my concept with this tutorial. You will be remembered forever

  • @theguru741
    @theguru741 2 ปีที่แล้ว

    5-7 ta video dekhe o bujhini Clouser but apnar video dakhe sob clear. Thank you Sir🥰

  • @sumaya-kabir
    @sumaya-kabir 2 ปีที่แล้ว

    Vaia eto valo kore bujhlam j ekhon amr mone hocche , ami r ekjon k bujhate parbo....etto etto clear kore bujhanor jonno dhonnobaad vaia....

  • @ShahariareRahman
    @ShahariareRahman 2 ปีที่แล้ว

    এতো দারুণ ভাবে শিখছি আর নিজেকে খুব কনফিডেন্ট মনে হচ্ছে, এতো দিনে খুব নিখুঁত ভাবে বুঝতেছি সব

  • @rashedhasan4367
    @rashedhasan4367 9 หลายเดือนก่อน

    ক্লোসার নিয়ে একদম ক্লিয়ার ধারণা পেয়ে গেলাম ভাই। অনেক ধন্যবাদ।

  • @DevHasan
    @DevHasan 2 ปีที่แล้ว

    এই প্লেলিস্ট যে সময় শুরু করেন তখন থেকে আপনাকে ফলো করি। বর্তমানে হিরো কোর্স এর ৬th ব্যাচ এ আছি। কোনো মতেই Function closures ব্যাপার টা ক্লিয়ার বুঝতে পারছিলাম না। কোনো কিছু না ভেবেই সোজা আপনার প্লেলিস্ট এ আসলাম। সার্চ দিলাম ব্যাস। এই ভিডিওটা দেখলাম। closures একদম ক্লিয়ার। অনেক টিচার এর কাছে পড়েছি। কিন্তু আপনার মত কারো কাছে কোনে বিষয় এত সহজে বুঝতে পারিনি।
    মন থেকে ভালোবাসা রইল ভাই❤️।
    ভাই ডাকলে আপন আপন লাগে তাই ভাই ডাকলাম।
    যদি কোনোদিন প্রোগ্রামিং এ ভালো করতে পারি। আপনার সাথে দেখা করব ইনশাআল্লাহ।
    Brahmanbaria থেকে ভালোবাসা। ❤️❤️

    • @LearnwithSumit
      @LearnwithSumit  2 ปีที่แล้ว +2

      আমার জন্য অনেক অনেক দামি কিছু কথা বললেন ভাই। ভালবাসা ছাড়া কিছু দেয়ার নেই। অনেক বড় হন আপনি সেই দুয়া করি।

  • @marufbillah_dev
    @marufbillah_dev ปีที่แล้ว

    Closures টি খুব সুন্দরভাবে ব্যাখ্যা করেছেন এবং আমি বুঝেছি। ❤️

  • @sharab2639
    @sharab2639 ปีที่แล้ว

    whattttaaa explanation..totally worth it vaia..Thnx♥♥

  • @sagormajomder
    @sagormajomder 2 ปีที่แล้ว

    অসাধারন! এই সিরিজের প্রত্যেকটা ভিডিও খুবই সুন্দরভাবে উপস্থাপন করা হয়েছে, তাই যেকেউ দেখলেই সে বুঝতে পারবে। ধন্যবাদ সুমিত দা ❤❤

  • @monzurulislam1119
    @monzurulislam1119 ปีที่แล้ว

    Thank you vai for your explaination.

  • @smalrabbi587
    @smalrabbi587 7 หลายเดือนก่อน

    Understanding JavaScript Function Closures - Learn with Sumit" [01:43] Functions can access variables outside the function. - Global scope allows accessing variables defined outside the function. - Local variables can only be used inside the function. [04:03] Local variables have short lives - Created when the function is invoked - Deleted when the function is finished [07:00] Using a global variable and a function to increase the counter in a JavaScript project. - Initializing a global variable with a value of zero. - Incrementing the counter using a function. [07:49] JavaScript function closures allow a counter to be modified without directly calling it - Functions can access and modify the counter without explicitly calling it - This behavior is due to the concept of functional closures in JavaScript [08:36] JavaScript function closures allow accessing local variables from outside the function scope. - Global variables can be accessed from inside the function scope. - Local variables can be accessed from outside the function scope using closures. [14:10] JavaScript supports nested functions - Nested functions have access to the scope above them - This could have solved the counter dilemma if we used a temporary function at the end [22:38] Closure is a function with access to parent scope. - Closure concept explained. - Function having access to parent scope even after parent function. [29:45] A closure is a function with access to the parent scope. - Even after the parent function has closed, a closure can still access the parent scope. - A closure provides an economical way to access the parent scope.

  • @rakibulislamrocky9591
    @rakibulislamrocky9591 2 ปีที่แล้ว +2

    oashadharon vai'❤

  • @MdEmon-dj1el
    @MdEmon-dj1el ปีที่แล้ว

    apnar bujanor khomota just wow...😍

  • @sazzadrayhan1981
    @sazzadrayhan1981 2 ปีที่แล้ว

    nije bujechi ,kawke bujateo parbo....Greate Content DADA.

  • @mdridoy9896
    @mdridoy9896 2 ปีที่แล้ว +1

    outstanding vaiya

  • @SirajulShuvo
    @SirajulShuvo 6 หลายเดือนก่อน

    Thanks dada for your informative video....

  • @ayanchowdhury7303
    @ayanchowdhury7303 ปีที่แล้ว

    Great confusion has been relieved. Thanks a lot!!

  • @hridoysyed
    @hridoysyed 2 ปีที่แล้ว

    Very helpful tutorial @Sumit da... ♥️

  • @MarufHasanShihab99
    @MarufHasanShihab99 8 หลายเดือนก่อน

    Thanks for the detailed video Dada. Very informative💖 Watch Date: 06-01-2024

  • @ahmedishti50
    @ahmedishti50 2 ปีที่แล้ว

    Function bind nie akta tutorial dile valo hoto bro.

  • @saykatsarkar5985
    @saykatsarkar5985 ปีที่แล้ว

    Great job man You are just awesome . You are inspiration for all new learner

  • @tnsobur1783
    @tnsobur1783 ปีที่แล้ว

    Oshadharon explanation vaiya!

  • @arupkumar6332
    @arupkumar6332 2 ปีที่แล้ว

    Very important video. thank you so much. keep it up dada.

  • @theAsyncGuy
    @theAsyncGuy ปีที่แล้ว

    ভাই, আপনি কোন কিবোর্ড ইউজ করেন? কি প্রেসের সাউন্ডটা অনেক সুন্দর ;)

  • @sukantodas2783
    @sukantodas2783 2 ปีที่แล้ว

    Great sir.......

  • @MDSoHeL-py2gu
    @MDSoHeL-py2gu 5 หลายเดือนก่อน

    function outer () {
    let x = "hello";
    const obj = {age: 25};
    const arr = [1, 2, 3];
    function inner () {
    var a = 5;
    console.log(x, obj, arr);
    }
    // console.dir(inner);
    return inner;
    }
    const inner = outer(); // ending outer function scope
    console.dir(inner);
    এখানে console.dir(inner) ইনারের মধ্যে স্কোপের জায়গায় যে ক্লোজার ওপেন হয়েছে এই ক্লোজারের স্কোপ ইনার ফাংশন এর মধ্যে নাকি বাহিরে????

  • @anik2929
    @anik2929 4 หลายเดือนก่อน

    thank you sir

  • @sumonbarai178
    @sumonbarai178 2 ปีที่แล้ว

    very important tutorial .presentation is very well

  • @aWiseCoder
    @aWiseCoder 2 ปีที่แล้ว

    খুব ভালো ভাবে বুঝলাম ।

  • @jubayer-ahmed46
    @jubayer-ahmed46 6 หลายเดือนก่อน

    waa kiya baat he samaj aa gaya closurses

  • @polyconhousewares1187
    @polyconhousewares1187 ปีที่แล้ว

    Thanks 🙂

  • @mohammadxihan8492
    @mohammadxihan8492 ปีที่แล้ว

    Wow!!baiya!!

  • @Mr.Shariar
    @Mr.Shariar 9 หลายเดือนก่อน

    Great explanation

  • @naimeimran3247
    @naimeimran3247 2 ปีที่แล้ว

    Thanks

  • @telescope3801
    @telescope3801 ปีที่แล้ว

    Javascript এতটা intelligent, চিন্তা করলে অবাক হতে হয়।

  • @jpchoyonkhan
    @jpchoyonkhan ปีที่แล้ว

    w3schools added 'function bind' in their syllabus after 'apply' section.
    Sir, তাহলে আপনি bind নিয়ে নতুন ভিডিও add করবেন না?

  • @BrightSkills
    @BrightSkills 2 ปีที่แล้ว

    এইটা হচ্ছে সেই ভিডিওটা যেটা ভাই ডেসক্রিপশনে দিতে চেয়েছিলেন ... th-cam.com/video/9acXwUkddZI/w-d-xo.html

  • @rashedmia7849
    @rashedmia7849 2 ปีที่แล้ว +1

    Dada, awesome.

  • @sportsloverglobal
    @sportsloverglobal 2 ปีที่แล้ว

    Good tutorials

  • @asifshahariar419
    @asifshahariar419 ปีที่แล้ว

    Really great. Thanks sir!
    Sir, which font do you use in your vscode?

  • @ArshihasWorld
    @ArshihasWorld 2 ปีที่แล้ว

    Awesome video vaiya....Watch date: 8 aug, 2022

  • @rakibulislam4112
    @rakibulislam4112 8 หลายเดือนก่อน

    দাদা আপ্নে কি mind reader 😬
    যেই question ই মাথায় আসে...সামনের একটু দেখলেই ওই ans পেয়ে যাই 😁

  • @sayyidfirozmahmud1702
    @sayyidfirozmahmud1702 ปีที่แล้ว

    kind of static variable??

  • @abirnewaz8029
    @abirnewaz8029 2 ปีที่แล้ว

    Bhai amar akta question cilo . Apni temporary function take const ar modhe dilan ken. Direct function ta ke call dilao to praten. Ami direct call disilam tahole oi annonymous function ta dekhai . Keno. Iktu godi bolten

  • @mdjuelshikder4748
    @mdjuelshikder4748 2 ปีที่แล้ว

    Go ahead vai.

  • @nazmulpolash4771
    @nazmulpolash4771 2 ปีที่แล้ว

    চমৎকার

  • @riyadhossain1706
    @riyadhossain1706 2 ปีที่แล้ว

    Tutorial No. 77 - Watched

  • @rashelislamsojib
    @rashelislamsojib 2 ปีที่แล้ว +1

    Nice

  • @souvikmukherjee8245
    @souvikmukherjee8245 9 หลายเดือนก่อน

    Darun Bojhalen 😁😁

  • @FarukAhmed-pc5hn
    @FarukAhmed-pc5hn 11 หลายเดือนก่อน

    Brendan Eich এত প্যাঁচ লাগাইয়া ঘুমায় কেমনে!

  • @md.hasanullah8252
    @md.hasanullah8252 2 ปีที่แล้ว

    wow

  • @learnwithashikuzzaman
    @learnwithashikuzzaman 8 หลายเดือนก่อน

    ভাই, কোড মনে রাখবো কি করে। এত কোড তো মনে করে রাখতে পারিনা। অনেকেই দেখি শত শত লাইন কোড লিখে আসলেই কি সব নিজে থেকে সব কোড লিখে নাকি গুগল সার্চ করে কপি করে সেই কোড মোডিফাই করে। একটু বলবেন প্লিজ।

    • @LearnwithSumit
      @LearnwithSumit  8 หลายเดือนก่อน +2

      keu e mukhosto koren. likhte likhte hoye jay. apni je bangla likhen seta ki mukhosto likhen? bangla letter ek jaygay kore apni likhchen. programing o tai. chorcha koren. apnio parben

    • @learnwithashikuzzaman
      @learnwithashikuzzaman 8 หลายเดือนก่อน

      @@LearnwithSumit ♥♥♥

  • @saifurrahman7893
    @saifurrahman7893 2 ปีที่แล้ว

    ♥♥

  • @shaonsikdar8738
    @shaonsikdar8738 2 ปีที่แล้ว

    23 aug, 22

  • @arafatsbackup-data8027
    @arafatsbackup-data8027 ปีที่แล้ว

    I didn’t understand 😭😭

    • @ZaDruziye
      @ZaDruziye ปีที่แล้ว

      watch multiple times and read article

  • @infofunmedia03
    @infofunmedia03 ปีที่แล้ว

    Thank you sir

  • @arafathossain6548
    @arafathossain6548 2 ปีที่แล้ว

    thanks