Chamod Dilshan 😎Shuffle an array elements in JavaScript ( Fisher -Yates Algorithm )The Fisher–Yates shuffle is an algorithm for shuffling a finite sequence. The algorithm takes a list of all the elements of the sequence…2d ago2d ago
Chamod Dilshan 😎Reduce Method Example in JavaScriptThe reduce() method executes a reducer function for array element.Jun 22Jun 22
Chamod Dilshan 😎JavaScript For Each Method ExampleThe forEach() method calls a function for each element in an array.Jun 21Jun 21