Is there an ES syntax proposal for calling functions with explicitly named parameters? eg. fn(verbose=true) instead of fn(true) /cc @jlfwong
-
-
-
-
@dmnd_ Yep, that's how I'd do it. You don't need to specify default params though. const fn = ({foo, bar, baz}) => ... works fine
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.