parent
a759c7597a
commit
fed8a1d22c
@ -0,0 +1,12 @@
|
|||||||
|
function NumPattern() {
|
||||||
|
|
||||||
|
let Pattern = [];
|
||||||
|
for (i = 1; i < 20; i++){
|
||||||
|
if (i % 3 === 0 ){
|
||||||
|
Pattern.push(i);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return Pattern;
|
||||||
|
}
|
||||||
|
|
||||||
|
console.log(NumPattern());
|
||||||
Loading…
Reference in new issue