"function truncate(arr) { //删除数组最后一个元素 //arr.slice->js截取数组的方法 return arr.slice(0,arr.length-1); }", "html":"","libs":[]}