This is the basic example of js array.sort() method is following: var arr = [5, 3, 10, 1, 6, 12] document.write("Array before sorting = " + ...
確定! 回上一頁