Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function preview_itskill(){
var its = itskill.data;
log()
log(" "+color.x46(itskill.title))
log()
for (var i = 0; i < its.length; i++) {
var txt = ''
for(var a in its[i]){
if(its[i][a]) {
txt += a + ':' + its[i][a] + ' | ';
// log(" ■ " + (its[i][a]? a + ':' + its[i][a]:"") )
}
}
log(" " + color.x161('■ ') + txt)
// log(" ----------------------------");
};
log()
}
function preview_education(){
var edu = education.data;
log()
log(" "+color.x46(education.title))
for (var i = 0; i < edu.length; i++) {
for(var a in edu[i]){
if(a === "timePeriod") log(),
log(" " + color.x161('■ ') + edu[i][a].val),
log(" ----------------------------");
else log(" " + color.x161('› ') + edu[i][a].info + " : " + edu[i][a].val);
}
};
log()
}