參考Ext3.0 source code

function getRandomInt(min, max){
    return Math.floor(Math.random() * (max - min + 1)) + min;
}
文章標籤
全站熱搜
創作者介紹
創作者 herb123456 的頭像
herb123456

PHP、MySQL、ExtJS、Linux、CentOS、Ubuntu

herb123456 發表在 痞客邦 留言(0) 人氣(63)