Closed jonathanlurie closed 2 months ago
I also prefer to use ternaries to multiple if (condA) return A; if (condB) return B; ... return X;
- so rather return condA ? A : condB ? B : X;
.
Also I prefer not using temporary variables, like let foo = bar(); return foo;
but rather use return bar();
directly.
But it is only my subjective preference.
RD-294
The goal is to centralize the list of languages so that it can be used by multiple JS/TS tools and libraries.