This website works better with JavaScript
Home
Explore
Help
Sign In
AlexReznichenko
/
homeworks
Watch
1
Star
0
Fork
0
Files
Issues
0
Pull Requests
0
Wiki
Tree:
4d77d501f6
Branches
Tags
master
homeworks
/
07
Alex
13b4c0156a
create hw7
3 years ago
..
README.md
13b4c0156a
create hw7
3 years ago
script.js
13b4c0156a
create hw7
3 years ago
README.md
Домашнее задание. Функции 2, ES6
ES6
function es6()
sort
function sort(arr, key='age', boolean=true)
array map
function arrayMap(arr)
array reduce
function arrayReduce(arr)
object filter
function objectFilter(obj, func)
object map
function map(obj, func)
Sum
function sums(n)
HTML Tree
function htmlTree(someTree, str = '')