@dhawlandrashrivastav

Thank you sir for nice tips and tricks this helps me lot to improve my DSA

@shraj340

let sortedarray = arr;
sortedarray = getsorted(sortedarray)

@sarangbadgujar4830

Another one way also is that we can use slice with no arguments to copy an array:

var foo, bar;
foo = [3,1,2];
bar = foo.slice().sort();

Here foo will not be modified

@mohdzeeshan7525

Nice explanation ❤

@AkramKhan-ez9lr

❤❤❤

@ankushmadankar1756

How those fruits sorted by the way?!

@offcampusrequirement2867

toSorted not a function error sir

@akshajagarwal8814

Sir aap javascript  off line  bhi teach karte jai kya ?? 🙏🙏🙏

@aradhanamurarka2949

Me here wondering how the f js sorted thease F emojis

@neerajkhanduri2860

Ye fruits kis hisaab se sort ho rahe  hai bhai? Thoda samjha do plz

@muhammadnihal6073

sir weekly ki vdo ayngi