Skip to content

Instantly share code, notes, and snippets.

curvePath = [];
var step = 1 / 100;
var point1, point2, point3;
point1 = {'x': 0, 'y':0};
point2 = {'x':250, 'y':200};
function supaTest(){
var tests = [{'name':1},{'name':2}];
var delay = 2000;
for (var i=0; i < tests.length; i++) {
setTimeout( function (test) {
return function () {
console.log(new Date());
console.log(test.name)
}