#Im having trouble with Javascript classes, i cant find my problem online
21 messages · Page 1 of 1 (latest)
This works correctly ^
It returns this as it should, the first line is just the Rotors wiring and the alphabet for reference
How ever if i uncomment this line:
JS doesn't have self, it's this
Even though im calling the forward function on rotor_1 its returning stuff from rotor_2
ah
Impatient JS (in #faq) if you know another programming language
also, you can forget var exists
Oh wow that fixed the problem
We have const, and let if you need reassignment
yes, your code is fine (for python), just the keyword was wrong
Don't.
Not the greatest idea, but the guy explains it the easiest way i understand it
well I guess your class project is to be given in a short period, but yeah
If you know another programming language, Impatient JS to learn. If you don't, js.info (another resource in #faq)
Its all full year project, im just now getting around to it