- 博客(1)
- 资源 (4)
- 收藏
- 关注
转载 js 数组元素随机排序
function randomsort(a, b) { return Math.random()>.5 ? -1 : 1;//用Math.random()函数生成0~1之间的随机数与0.5比较,返回-1或1}var arr = [1,2,3,4];var arr2 = arr.sort(randomsort);alert(arr2);
2014-05-07 16:17:10 14759 1
压力测试工具ab.exe
web压力测试工具,很好用,很好的测试并发请求
使用帮助http://blog.csdn.net/wmsjlihuan/article/details/43573767
2015-03-20
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人