Today I learned about the Asynchronous function. async means that events happen in order, one waits for another to end, as opposed to synchronous, which all happens at the same time.
Additionally, we also learned about the Fetch function which allows us to 'fetch' data from different APIs and sources instead of hard coding data. This can be utilized by fetching data from our own files such as the json file we worked on today.
Here is an example of the notation we used in order to fetch data from a json file:
Today I learned about the Asynchronous function.
async
means that events happen in order, one waits for another to end, as opposed to synchronous, which all happens at the same time.Additionally, we also learned about the
Fetch
function which allows us to 'fetch' data from different APIs and sources instead of hard coding data. This can be utilized by fetching data from our own files such as the json file we worked on today.Here is an example of the notation we used in order to fetch data from a json file: