3 ms·
Yes this does look dangerous. Basically `strArray[keyLookup()] += “s”` evaluates `keyLookup()` or whatever is in the brackets twice. So if there’s a side effect
by skywhopper 8y ago
Yes this does look dangerous. Basically `strArray[keyLookup()] += “s”` evaluates `keyLookup()` or whatever is in the brackets twice. So if there’s a side effect to that function that’s going to behave badly. Limited to arrays of `String` apparently.