33Across interview question

print 1 to 10 with 1 second delay using setTimeout