mirror of
https://github.com/SileNce5k/jscripts.git
synced 2025-04-19 19:16:18 +02:00
Small refactor
This commit is contained in:
parent
0e50449779
commit
7826ad2e50
1 changed files with 44 additions and 44 deletions
2
rn.js
2
rn.js
|
@ -21,7 +21,7 @@ if(process.argv.length > 4){
|
||||||
function g(digits){
|
function g(digits){
|
||||||
let m = [digits];
|
let m = [digits];
|
||||||
for (let i = 0; i < digits; i++) {
|
for (let i = 0; i < digits; i++) {
|
||||||
m[i] = Math.round(Math.random() * maxNumbers);
|
m.push(Math.round(Math.random() * maxNumbers))
|
||||||
}
|
}
|
||||||
let count = 0;
|
let count = 0;
|
||||||
for(let i = 0; i < m.length; i++){
|
for(let i = 0; i < m.length; i++){
|
||||||
|
|
Loading…
Add table
Reference in a new issue