本文参考: http://blog.csdn.net/tyrionj/article/details/78653426 http://www.runoob.com/jsref/jsref-obj-string.html Description: In this little assignment you are given a string of space separated numbers, and have to return the highest and lowest number. …