Yea. making edits.
Nice article, You can make the pro ones even more pro.
for instance:
const hungry = true;
const eat = hungry ? 'yes' : 'no';
And this one:
const array = [100, 23, 23, 23, 23, 67, 45];
const outputArray = new Set(array);
I also find there is a thin line between "pro" and unreadable code in some cases, always keep in mind if something makes the code unreadable just to love a couple symbols.
Thao Le
web dev
I dont understand this sample. The second one makes different result.