Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobierenF&A Diskussionen
Why use console. in the JS ?
2 Stimmen
4 AntwortenI have 10 variables called, int1, int2, int 3 and so on. The user can write one number into the console. If the user types 7, I want to add 3 to the value of int7. how do I do this without 10 if statements? can I somehow do something like, (int + "userinput") += 3?
thank you for your help! :D
0 Stimmen
2 AntwortenHeute heiß
Is the AI course worth the $49?
0 Votes
Where to use
0 Votes
Coding path
0 Votes
How to win bits
1 Votes