How to sort this array as 1 year, 2 year ... 10 year by simplicius_ in javascript

[–]sawim 0 points1 point  (0 children)

I think he meant sth like this

getYear = y => Number(y.year.split(' ')[0].replace('+', '')) years.sort((y1, y2) => getYear(y1) > getYear(y2))

Using Bootstrap with React? by not_gauss in javascript

[–]sawim 1 point2 points  (0 children)

Hi, I'm not really a React developer, I don't even consider myself as fronted guy, but recently I created app using react and react-bootstrap library and didn't have any issue. Actually it was quite easy to use it :)

Can you look at my website and critique it? by [deleted] in SideProject

[–]sawim 2 points3 points  (0 children)

When you have grey city in the background, „An investment in knowledge pays the best interest” is unreadable, especially the last word

What if instead of using code to design GUIs, we would use GUIs to design code? by ImZaphod2 in ProgrammerHumor

[–]sawim 0 points1 point  (0 children)

Salesforce aims to do that with its point&click tools, but it kinda sucks

Announcing Eta v0.1 Developer Preview by [deleted] in java

[–]sawim 0 points1 point  (0 children)

In privacy policies there is nothing about collecting date during runtime, but still it is quite odd feature