Tasks
замыкание
function closure() {
let count = 0;
return function coun1t() {
return count++;
}
}
let count1 = closure();
console.log(count1());
console.log(count1());
console.log(count1());debounce
bubble sort
reduce
random min man
Redux
createStore(redux)
insertAfter
querystring /queryparams
Sum function with different number of params
Array
Deep of Array
Currying
To make a function multiplyAll which takes an array of integers as an argument. This function must return another function, which takes a single integer as an argument and returns a new array.
multiplyAll which takes an array of integers as an argument. This function must return another function, which takes a single integer as an argument and returns a new array.Каррирование sum(a,b) разное кол-во параметров
Remove duplicates from the list
Return an array containing the numbers from 1 to N, where N is the parametered value. N will never be less than 1.
Given a string of words, return the length of the shortest word(s).
Square every digit of a number and concatenate them.
Find The Duplicated Number in a Consecutive Unsorted List
Objects
Get output:

Count all the occurring characters in a string. If you have a string like aba, then the result should be {'a': 2, 'b': 1}.
Дан объект {name: 'Петр', 'surname': 'Петров', 'age': '20 лет', }. Запишите соответствующие значения в переменные name, surname и age. Сделайте так, чтобы, если какое-то значение не задано - оно принимало следующее значение по умолчанию: {name: 'Аноном', 'surname': 'Анонимович', 'age': '? лет'}.


detectCollision function
String
Palindrome
Anagram Detection
Reverse
Number
Is a number prime?
Century From Year
Node Js
TS
To create functions
Посчитать кол-во цифр в числе
Перемножить массив чисел (кол-во может отличаться)
Строка со словами. Вывести массив со словами с большой буквы + строку с первыми буквами этих слов
Last updated