JavaScript Taskbook Level 4.10

Задание 1

Make a function that will take a letter as a parameter and check whether it is a Cyrillic or Latin letter.

Задание 2

Make a function that takes an array as a parameter and shuffles the elements of this array in a random order.

Задание 3

Given a text with words. Write all the words of this text into a special object. The keys in this object will be letters, and the values ​​will be arrays of words starting with these letters.

Задание 4

Make a function that takes a number as a parameter and returns an array of its divisors, which are prime numbers.

Задание 5

Create a function that takes a word as a parameter and returns an array of its syllables.