For example, can I do the following:
const execute = (a, c = a.b) => {
// some logic
}
c is the parameter whose default value I want to set, and the default value depends on the first argument.
Can I also do the reverse? (I guess not?)
const execute = (c = a.b, a) => {
// some logic
}