<script> ?? //交换位置 ??? Array.prototype.swap = function(i, j) ??? { ??????? var temp = this[i]; ??????? this[i] =...