Skip to content

Instantly share code, notes, and snippets.

View VahidDopler's full-sized avatar
🏠
Working from home

Vahid Dopler VahidDopler

🏠
Working from home
View GitHub Profile
@VahidDopler
VahidDopler / gist:25ac03312cb29965faf7557e54c9c366
Created October 26, 2021 18:33
Find minimum aand max in javascript
'use strict'
function findMinMax(array , start , end )
{
debugger;
var max , min;
if (start == end)
{
max = array[start];
min = array[start];
}