Closure | JavaScript | Malayalam

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ก.พ. 2025
  • This video explains the concept of Closure in JavaScript. The content is explained in Malayalam language.
    💝 Support: codemalayalam@upi
    Closure MDN: developer.mozi...
    Video on Stack and Heap: • Call by Value Call by ...
    Video on Callback: • Callback | JavaScript ...

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

  • @bobenverghese8083
    @bobenverghese8083 4 ปีที่แล้ว +3

    Excellent! This is the best explanation I have seen for closure.

  • @abilashrs4133
    @abilashrs4133 4 ปีที่แล้ว +3

    Clear explanation bro...Thanx

  • @pm2481
    @pm2481 3 ปีที่แล้ว

    Thanks bro, the series was a great opportunity to learn basics.

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

    nice explanation sir💥

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

    the , explanation is nice .. very clear to the core ...could you also do few videos on css syntax?

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

      Next few videos is on CSS. Hope it would be useful. Thank you.

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

    thank you brohhhh
    😍😍😍

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

    ❤❤❤❤ powli

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

    Nice

  • @hashim1785
    @hashim1785 4 ปีที่แล้ว +3

    thanks

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

    thanks .very helpfull

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

    parent function a,b value heap save chayyan karnam
    ith oru lochal variable ellye expline chyth teroo

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

      sorry bro. Question not clear.

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

      @@CodeMalayalam Parent function ula perametore a,b ithe lochal variable anoo
      anakil ith stack il elle store chayya
      inkk clear ayilla

  • @ashrafcvd9885
    @ashrafcvd9885 11 หลายเดือนก่อน

    Bro call stack ninnum inner function return akumbol aa function nte lexical environment koodiyale return akkunnath athukondalle pinneyum aa variable access cheyan kittunnath 🤔

    • @CodeMalayalam
      @CodeMalayalam  11 หลายเดือนก่อน +1

      oru function return aayaal athinte call stack motham pokum. means any local variables in that function will get lost. Aa variable athinte inner functionil access chayyaan pattunnathu athu aa innter function oru closure variable aayi store cheyyunnathu kondaanu.

  • @krish-Ach
    @krish-Ach ปีที่แล้ว

    bro debounce throttle onnu simple aayi parayamo

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

      Join telegram of Web Diary or Debug Media. Ask question there tagging Code Malayalam. I will try to answer by voice.

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

    pythonum angne thanne alle...I mean heapil alle save cheyya...

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

      ആയിരിക്കണം. python വല്യ പിടി ഇല്ല 🙂

  • @worldwid.876
    @worldwid.876 3 ปีที่แล้ว

    Bro callback function ലോട്ട് argument pass ചെയ്യാൻ പറ്റില്ലേ

    • @CodeMalayalam
      @CodeMalayalam  3 ปีที่แล้ว

      പറ്റും. ആരാണോ callback call ചെയ്യുന്നത്. അവർക്ക്.
      Callbackന് രണ്ടു ഭാഗം ഉണ്ട് .. ഒന്ന് registrationഉം മറ്റേത്‌ calling. For example
      document.getElementById('button').onclick = function (evt) {
      console.log(evt)
      }
      ഇങ്ങനെ എഴുതുമ്പോൾ registration മാത്രമേ ആവുന്നുള്ളൂ. button click ചെയ്യുമ്പോൾ call ചെയ്യുന്നത് ഇവിടെ browser ആണ്. call ചെയ്യുന്ന ആളാണ് argument കൊടുക്കുന്നത്. അതായത് ഇവിടെ evt കൊടുക്കുന്നത് browser ആണ് . Registration ചെയ്യുന്ന ആള് സാധാരണ ഗതിയിൽ argument കൊടുക്കാറില്ല.
      registration ചെയ്യുമ്പോൾ argument പറയാൻ ഒരു വഴി ഉണ്ട്. bind ഉപയോഗിച്ച്
      document.getElementById('button').onclick = function (evt) {
      console.log(evt)
      }.bind(null, 10);
      ഇങ്ങനെ ചെയ്‌താൽ ഇവിടെ evtൽ വരുന്നത് 10 ആണ്. പക്ഷെ ഇത് arrow functionന് പറ്റില്ല.

    • @jithinkgeorge2237
      @jithinkgeorge2237 3 ปีที่แล้ว

      @@CodeMalayalam registration ചെയ്യുമ്പോൾ argument koduthaal, athu callback function akuo? ilelo? namal koddukuna argument pole aakuvelo apo.(since argument is not provided by browser)..so athu callback function akilelo

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

    sound ila bro

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

      sound okke undu bro. See other comments.

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

    ❤️

  • @SandraPS-gf2io
    @SandraPS-gf2io 3 หลายเดือนก่อน

    Super🫶❤️