Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function tripleLatins(num) {
- for (let i = 97; i < 97 + num; i++) {
- for (let m = 97; m < 97 + num; m++) {
- for (let n = 97; n < 97 + num; n++) {
- console.log(`${String.fromCharCode(i)}${String.fromCharCode(m)}${String.fromCharCode(n)}`);
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement