DEV Community

Discussion on: Semicolon or No semicolon?

Collapse
 
burtek profile image
Bartosz

There are cases where a semi is always required, i.e.

const data = fn1();
(await fn2()).something
Enter fullscreen mode Exit fullscreen mode

I prefer using semis always rather than having to use them as exception, which IMO break the code style