Sort the array value using "sort" method will change the original value of the array instead use new array method "toSorted" will not change the original value. This method will not support in Firefox.
Check out our Digital products: https://vigowebs.gumroad.com/
Follow our Twitter for daily code Tips: / vigowebs
Follow our Medium page for Tech Articles: / vigowebs
#javascript #vigowebs #shortvideo #ytshorts #js #frontend #frontenddevelopment #frontenddeveloper #tips #tipsandtricks #javascriptfunctions #javascriptprojects #shortsyoutube #shortfeed #webdevelopment #webdeveloper #webdesigning #webdesigner #webdesign #javascriptprojects #javascriptfunctions #javascriptinterview #interveiw #interviewquestions