DEV Community

Discussion on: Initialize a const variable inside a function getting called simultaneously

Collapse
 
dylanesque profile image
Michael Caveney

Agreed, plus the second one reads a little bit cleaner.