2 ms·
Well, in Scala with default predef it would depend on the order or the arguments. If first one is a string it would just append string representation of the sec
by AzzieElbab 7y ago
Well, in Scala with default predef it would depend on the order or the arguments. If first one is a string it would just append string representation of the second one. One could use a random generator to guess what would happen in JavaScript. I do not know what Python does in these cases
- AzzieElbab 7y agoSorry for being cryptic, the point was that I prefer appenders being explicitly documented in types or method signatures instead of some built-in magic