6. Write a JavaScript to remove the highest element from the array and arrange the array in ascending order.
<!-- --------------------------------------------------------------------------------------------------------------------------------- HTTP://WWW.GTUMCA.CO.CC ---share your college materials on --- [email protected] JOIN US ON FACEBOOK: with more than 1000 GTU MCA FRIENDS TWITTER @MCAGTU ---------------------------------------------------------------------------------------------------------------------------------------> <html> <head> <script language="javascript">
function generate() { var arr=[10,30,4,28,12]; document.write("Original array<br>");