In python, you can add a function to a call to max() using the key= keyword arg, which lets you do more complex logic for finding the value you want, but in Transcrypt it looks like max() is mapped directly to Math.max() and so doesn't have this ability.
In python, you can add a function to a call to
max()using thekey=keyword arg, which lets you do more complex logic for finding the value you want, but in Transcrypt it looks likemax()is mapped directly toMath.max()and so doesn't have this ability.