This forum is now read-only. Please use our new forums at discuss.codecademy.com.

How to use APIs with JavaScript Forum

View Course » View Exercise

1040 points
519258f45593d003ca000623_90819022
Submitted by
BhupendraW_5177fae44ccaf0f76b004ab5_
over 4 years ago

CONFUSION!!PLEASE HELP!!

xhr.open("GET", "http://www.codecademy.com/files/samples/javascript_learn_apis.xml", false);

In the above line of code,i can't understand the use of the word "false" in it.....Can someone please tell me its significance?


1 vote

permalink

Hello, This parameter indicates if the request will be managen in an asincronous way, when false, the program will wait until the prequest has been completed.

2195 points
519e98cc507216bcf30016e9_199512969
Submitted by
Alfredo Vargas
over 4 years ago