Quantcast
Channel: Comments on: Wie kann man ein Array mischen?
Browsing latest articles
Browse All 4 View Live

By: peter seliger (peterS.)

Hallo Struppi, eine andere mögliche umsetzung des reinen mischens könnte so aussehen: Array.prototype.shuffle = (function () { this.sort(function () { return (0.5 – Math.random()); }); }); so long –...

View Article



By: Struppi

Das ist natürlich noch besser.

View Article
Browsing latest articles
Browse All 4 View Live




Latest Images