Check array is sorted or not
This is my given array    const arr=[1,2,6,4,5]        Enter fullscreen mode            Exit...
Tags: sort, array, programming, javascript