2

onSelect(option, (0, _getOptionText2.default)(option))

I saw this in one of the node modules I use and I'm pretty confused by the second argument which is wrapped by parentheses. How does that work? There is no function which it is invoking.

Huan Zhang
  • 1,075
  • 8
  • 13

0 Answers0