JSFiddle - React, Tailwind, and code Playground

by park kyungdoo

JavaScript

function countBy(x, n) {
    var z = [];
    for (i = 1; i <= n; i++) {
        z.push(x * i);
    }
    return z;
}