var list = ["InterviewBit", "jQuery", "Questions"]; $.each(list, function(index, value){ console.log(index + " "+ value); })