Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for (let i = 0; i < letras.length; i++) {
- codigos.push(alfabeto.indexOf(letras[i].toUpperCase()) + 1);
- }
- numeros.push(codigos);
- for (let i in letras) {
- numeros.push(alfabeto.indexOf(letras[i].toUpperCase()) + 1);
- }
- return numeros;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement