Skip to main content
Code Line Daily
Home
Archive
Evergreen
About
A line of code of the day.
Ternary operator.
const myClass = isHome() ? 'home' : 'category'
#JavaScript
2019-08-29
By:
Silvestar
Copy
Copy command
Share:
Twitter
Facebook
Reddit
<= Previous
Next =>
Code Line Daily
Twitter
Facebook
GitHub
RSS
Powered by
Starter Project
.