Skip to content

Conversation

@ghost
Copy link

@ghost ghost commented Mar 19, 2018

No description provided.


const sendGetRequest = (req, url) => {
req.open('get', url, true);
req.open('get', url, false);
Copy link
Member

Choose a reason for hiding this comment

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

The idea is that this works with true.

Copy link
Author

Choose a reason for hiding this comment

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

The idea is realized by the function added in main.js. I think it executes the two calls concurrently.

Copy link
Author

Choose a reason for hiding this comment

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

Excuse me, i thinks with the function and the nested calls its execute secuencially.

Copy link
Member

Choose a reason for hiding this comment

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

Yes you are right but then the exercise will be very easy ;)

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