3 ms·
This is the coffeescript equivalent, not sure how to get it working in the visualisation though as it doesn't involve swaps. VA = [4, 2, 5, 7] for y in VA
by rlivsey 15y ago
This is the coffeescript equivalent, not sure how to get it working in the visualisation though as it doesn't involve swaps.
VA = [4, 2, 5, 7]
for y in VA
setTimeout('console.log(' + y + ')', y*1000)