Lucinex said almost 3 years ago on Shopping Cart with Turbo :
What drove the decision behind this line of code:
        cart_item.quantity = [cart_item.quantity - 1, 1].max

Is it written like that to avoid using a conditional? For performance reasons? Both?