<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Callbacks on Coderrob</title><link>https://coderrob.com/tags/callbacks/</link><description>Recent content in Callbacks on Coderrob</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Mon, 03 May 2021 15:00:00 -0500</lastBuildDate><atom:link href="https://coderrob.com/tags/callbacks/index.xml" rel="self" type="application/rss+xml"/><item><title>JavaScript Callbacks</title><link>https://coderrob.com/posts/javascript-callbacks/</link><pubDate>Mon, 03 May 2021 15:00:00 -0500</pubDate><guid>https://coderrob.com/posts/javascript-callbacks/</guid><description>&lt;h2 id="brief-history-of-callbacks"&gt;Brief History of Callbacks&lt;/h2&gt;
&lt;p&gt;It all starts with the callback function.&lt;/p&gt;
&lt;p&gt;A callback function is just a plain JavaScript function that is passed into another function as an argument.&lt;/p&gt;
&lt;p&gt;That&amp;rsquo;s it. Nothing special.&lt;/p&gt;
&lt;p&gt;This callback function can be used to return data, or to signal that some event took place.&lt;/p&gt;
&lt;p&gt;If you&amp;rsquo;ve worked with web development you&amp;rsquo;ve definitely crossed paths with callbacks.&lt;/p&gt;
&lt;p&gt;Think of a button &lt;code&gt;click&lt;/code&gt; event for a web page.&lt;/p&gt;</description></item></channel></rss>