Vanilla JavaScript Chicken or Egg?
I saw this a couple of days ago and thought it was finally a solution to this ancient problem!
Who was there first the chicken or the egg?
JavaScript Chicken or Egg Sort
var array = ['π₯', 'π'];
console.log(array.sort());
// (2) ["π", "π₯"]
There ...
h.daily-dev-tips.com1 min read