No autoresizing to fit the code
Render blocking of the parent page
Apply local draft version or discard it
Auto-close HTML tags
Show line numbers
Enable line wrapping
Indent with tabs
Showing how the Array.prototype.sort function is unstable, and how to make it stable.
The results of the unstable sorting may vary from browser to browser. For example, Chrome 35's sort algorithm uses insertion sort (which is stable) for arrays shorter than 11 elements, and QuickSort for longer arrays (which is unstable); hence why an array with 11 elements is used in this fiddle.
Add title to make the fiddle public.
/echo simulates AJAX calls:
See docs for more info.
Created and maintained by Piotr and @oskar.
Hosted on DigitalOcean
All code belongs to the poster and no license is enforced.
JSFiddle or its authors are not responsible or liable for any loss or damage of any kind during the usage of provided code.
Status page by updown.io
Keep us running by whitelisting JSFiddle in your ad blocker.
We're serving quality, tech-related ads only.