Skip to content

solution: solved the 5th challenge of promises async await (5) - #7

Open
PushpakRaut wants to merge 2 commits into
The-Code-Dose:mainfrom
PushpakRaut:solution/promises/5
Open

solution: solved the 5th challenge of promises async await (5)#7
PushpakRaut wants to merge 2 commits into
The-Code-Dose:mainfrom
PushpakRaut:solution/promises/5

Conversation

@PushpakRaut

Copy link
Copy Markdown
Contributor

What does this PR do
This PR Solved the 5th challenge of promises-async-await

#Screenshot

image

#Changes

solution update.

@PushpakRaut

Copy link
Copy Markdown
Contributor Author

updated!!!

Comment on lines +36 to +43
// simple fetch for 1 time
const getFetch = () => {
fetch(URL)
.then((res) => res.json())
.then((data) => console.log(data));
};

getFetch();

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
// simple fetch for 1 time
const getFetch = () => {
fetch(URL)
.then((res) => res.json())
.then((data) => console.log(data));
};
getFetch();

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants