Quote:
Originally posted by TribulationStaff
Still, far better 1 line as opposed to 64 virtually identical if clauses
|
I already said you wouldn't need many. Three, perhaps? Maybe four.
Quote:
|
I can create a string, call it this.values, and arrange all the characters such that their position in the string is their decimal value. However, for this to work right, indexof needs to differentiate between G and g.
|
Yes, or you could use an efficient method.