# Tutorial: Shuffling an Array in JavaScript

**URL:** <https://forum.kirupa.com/t/tutorial-shuffling-an-array-in-javascript/328817>\
**Category:** web dev\
**Created:** [June 20, 2012, 6:14am UTC](https://forum.kirupa.com/t/tutorial-shuffling-an-array-in-javascript/328817 "2012-06-20T06:14:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kirupa](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/kirupa/32/11616_2.png) [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Post date:** [June 20, 2012, 6:14am UTC](https://forum.kirupa.com/t/tutorial-shuffling-an-array-in-javascript/328817/1 "2012-06-20T06:14:44Z")

</div>

[COLOR=#333333][COLOR=#333333][FONT=Segoe UI][FONT=Segoe UI]Hi everyone,[/FONT][/FONT][/COLOR][/COLOR]  
[COLOR=#333333][COLOR=#333333][FONT=Segoe UI][FONT=Segoe UI]This is the happening place to discuss all things related to the Fisher-Yates approach for [Shuffling an Array](http://www.kirupa.com/html5/shuffling_array_js.htm) in JavaScript[/FONT][/FONT][/COLOR][/COLOR][COLOR=#333333][COLOR=#333333][FONT=Segoe UI][FONT=Segoe UI].[/FONT][/FONT][/COLOR][/COLOR]

[COLOR=#333333][COLOR=#333333][FONT=Segoe UI][FONT=Segoe UI]Cheers,[/FONT][/FONT][/COLOR][/COLOR]  
[COLOR=#333333][COLOR=#333333][FONT=Segoe UI][FONT=Segoe UI]Kirupa [/FONT][/FONT][/COLOR][/COLOR]:cool:
