home
-
all
|
technology
-
piracy
-
linux
-
memes
-
asklemmy
-
selfhosted
-
world
-
technology
-
nostupidquestions
-
mildlyinfuriating
-
technology
-
youshouldknow
-
programmerhumor
-
games
-
worldnews
-
privacy
-
opensource
-
gaming
-
showerthoughts
-
lemmyworld
-
more ยป
log in
or
sign up
|
settings
javascript@programming.dev
comments
32
Stop nesting ternaries in JavaScript
(www.sonarsource.com)
submitted
11 months ago
by
philnash@programming.dev
to
c/javascript@programming.dev
34 comments
fedilink
hide all child comments
you are viewing a single comment's thread
view the rest of the comments
[-]
spartanatreyu@programming.dev
2 points
11 months ago
Match already returns the value which can be thrown into a variable.
permalink
fedilink
source
parent
this post was submitted on 11 Dec 2023
32
points
(80.8% liked)
JavaScript
1700 readers
1 users here now
founded 1 year ago
MODERATORS
erlingur@programming.dev
Ategon@programming.dev
nick@programming.dev
Match already returns the value which can be thrown into a variable.