Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
236 B
2
Indexable
Never
function makeRequestToGoogle(correlationId) {
 var startDate = new Date();
 makeRequest("some request",{
  onSuccess : function(){
    var timeTakenByGoogle = new Date() - startDate;
    // correlationId is still correlationId
  }
 })
}