Javascript while loop to deplete an array from either direction. - while.js. ... while(x.length){. var value = x.pop();. console.log(value);. }.
確定! 回上一頁