0
How would I get Math.max to return the var name, not the value?
Pretty self explanatory, here's the code (not done, just a draft): https://code.sololearn.com/WNXoBXZewyb0/?ref=app
3 Respuestas
+ 2
yes... I used a datastructure i know from python.
a kind of key/value.
0
https://code.sololearn.com/W8JATI6cYGL4/#html
I am not that js professional, but go into this direction.
Surely others will find better solutions,
0
1. Thanks Oma Falk =)
2. How did you do that? looks like the data pairing thing that I kinda skipped in the es6 tutorial but I'm not to sure