JSFiddle - React, Tailwind, and code Playground
by goggin13
JavaScript
function alert_n_times(text, n) {
if (n >= 0) {
alert(n + " : " + text);
n = n - 1;
alert_n_times(text, n);
}
}
alert_n_times("hello Yael", 2);
by goggin13
function alert_n_times(text, n) {
if (n >= 0) {
alert(n + " : " + text);
n = n - 1;
alert_n_times(text, n);
}
}
alert_n_times("hello Yael", 2);