Now that we know the differences between synchronous and asynchronous programming in this video and
the upcoming one, let's focus on asynchronous programming.
So in this particular video, we will have a look at ways of writing async code.
So let's get started.
Well, the first option that we can use to write async code is what we call set timeout.
And for this method, we have used it before.
As you move on, we are going to take each of these options and debut more with actual code.
So let's proceed.
The next option that we can use to write async code is what we call callback.
And apart from callback, we can also use what is called promise and after promise.
You also have newly emerged feature in JavaScript and that is what you call async await.
So all these methods we can use to write async programming.
So as you move on, we are going to take each of these to die more like I said.
So then this video, let's start with callback because for set timeout, we have talked about it before,
so let's continue with callbacks in the next video.