• This Is Crazy, But Here's A Podcast, So Callbacks, Maybe?

  • Mar 30 2021
  • Length: 13 mins
  • Podcast

This Is Crazy, But Here's A Podcast, So Callbacks, Maybe?

  • Summary

  • Today we discuss JavaScript Callbacks! What is a Callback?

    A callback function is a function passed into another function as an argument, which is then invoked inside the outer function to complete some kind of routine or action.

    For example, paste this code block in your editor and try it!

    function greeting(name) { alert('Hello ' + name);}function processUserInput(callback) { var name = prompt('Please enter your name.'); callback(name);}processUserInput(greeting);



    Resources

    • MDN Callback Function Definition


    Connect With Us!
    Instagram: @badforeducationpodcast
    Twitter: @badforedupod
    Email: badforeducationpodcast@gmail.com

    Send us questions! Or say hello to  us via email!

    Want a free $20 Amazon gift card and to start your own podcast with Buzzsprout?
    It's as simple as one click in our link below. Get started today, and have access to their extensive network and assistance. Podcasting isn't hard when you have the right partners!
    Click our link here

    Show More Show Less

What listeners say about This Is Crazy, But Here's A Podcast, So Callbacks, Maybe?

Average Customer Ratings

Reviews - Please select the tabs below to change the source of reviews.

In the spirit of reconciliation, Audible acknowledges the Traditional Custodians of country throughout Australia and their connections to land, sea and community. We pay our respect to their elders past and present and extend that respect to all Aboriginal and Torres Strait Islander peoples today.