Assume one asynchronous function which returns the result of a short sum:
var data = 0;
function asyncFunction() { data += 1; }
Is it possible for this function to be executed asynchronously more than one time at the exact same time? Assuming this function was called asynchronously two times AND they were executed at the exact same time, could it be possible data would be equal to 1 and not 2?
Edit: This is not a duplicate of the proposed link. The item being linked does represent one case of a data race but only answers that specific data race question. What we'd like to know here is if there is any possible situation which might result in a data race condition in javascript.