I don't know exactly what to the call the question yet. I will update it when somebody can tell me what I'm actually looking at...
I was looking at some compiled code (from Babel) and it produced this:
(0, _posSaleTipJs.shouldShowTippingOnCheckoutFlow)()
What the!? After some digging it looks like you can use any number of arguments but it always only cares about the last one. What is this syntax called, what does it mean and how is it useful?
The original code it was compiled from was:
shouldShowTippingOnCheckoutFlow()