Hi i’m working on making an Enigma Machine in JS but i have a problem with the plugboard.
What i want to happen is that when you select a different letter it accosiates it but my problem is if you then change it it leaves the other one the same and wont change it to blank