This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function isSubset(a, b){ | |
subset = true | |
a.forEach(function(value) { | |
subset = (b.multiplicity(value) > a.multiplicity(value)) && subset | |
}); | |
return subset | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Agent key words | |
const agentKeyWords = [ | |
"grabadas", "monitoreadas", "de acuerdo", | |
"ofrecemos", "ofrecer", "toma de datos", "Oportunidad", "llamada", "ofrecerle", "como esta", | |
"confirmar", "el motivo de esta llamada", "proceder", "podria", "me puede comentar", "me puede decir", | |
"adquirir", "tiene alguna duda", "tiene alguna inquietud", "comprende", "que duda tiene" | |
] | |
//Client key words | |
const clientKeyWords = [ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for (let i = 1; i < 101; i++) { | |
if(i%3 === 0 && i%5 === 0) console.log('CracklePop') | |
else if(i%3 === 0) console.log('Crackle') | |
else if(i%5 === 0) console.log('Pop') | |
else console.log(i) | |
} |