DEV Community

Discussion on: Default Function Parameters (ES6)

Collapse
akashkava profile image
Akash Kava

undefined logically means that you are not specifying the argument. So it will use default value.