Agreed, plus the second one reads a little bit cleaner.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.
re: Initialize a const variable inside a function getting called simultaneously VIEW POST
TOP OF THREAD FULL DISCUSSIONAgreed, plus the second one reads a little bit cleaner.