I need your expertise how can i save the console.log output or the variable in to a csv file ? please check my code below thank you!
jQuery('.result-row').each(function(index, value) {
var name = jQuery(this).find('a.result-name span').text();
var occupation = jQuery(this).find('span.result-suffix.result-suffix-verified').text();
var occupationwospace = occupation.replace(/\s \s/g, '')
console.log(name + '\t' + occupationwospace );
});