Telegram Group & Telegram Channel
Хай! Дан массив с числами. Выведите последовательно его элементы используя рекурсию и не используя цикл.

Решение:
function func(arr) {
alert(arr[0]);
arr.splice(0, 1);
if (arr.length > 0) {
func(arr);
}
}



group-telegram.com/pythonmems/887
Create:
Last Update:

Хай! Дан массив с числами. Выведите последовательно его элементы используя рекурсию и не используя цикл.

Решение:
function func(arr) {
alert(arr[0]);
arr.splice(0, 1);
if (arr.length > 0) {
func(arr);
}
}

BY Готовый Код | Frontend


Warning: Undefined variable $i in /var/www/group-telegram/post.php on line 260

Share with your friend now:
group-telegram.com/pythonmems/887

View MORE
Open in Telegram


Telegram | DID YOU KNOW?

Date: |

There was another possible development: Reuters also reported that Ukraine said that Belarus could soon join the invasion of Ukraine. However, the AFP, citing a Pentagon official, said the U.S. hasn’t yet seen evidence that Belarusian troops are in Ukraine. Founder Pavel Durov says tech is meant to set you free Although some channels have been removed, the curation process is considered opaque and insufficient by analysts. Perpetrators of such fraud use various marketing techniques to attract subscribers on their social media channels. Russians and Ukrainians are both prolific users of Telegram. They rely on the app for channels that act as newsfeeds, group chats (both public and private), and one-to-one communication. Since the Russian invasion of Ukraine, Telegram has remained an important lifeline for both Russians and Ukrainians, as a way of staying aware of the latest news and keeping in touch with loved ones.
from de


Telegram Готовый Код | Frontend
FROM American