This website works better with JavaScript
Inicio
Explorar
Axuda
Iniciar sesión
AlexReznichenko
/
homeworks
Seguir
1
Destacar
0
Fork
0
Ficheiros
Incidencias
0
Pull Requests
0
Wiki
Árbore:
76b035ff7e
Ramas
Etiquetas
master
homeworks
/
07
Alex
13b4c0156a
create hw7
%!s(int64=2) %!d(string=hai) anos
..
README.md
13b4c0156a
create hw7
%!s(int64=2) %!d(string=hai) anos
script.js
13b4c0156a
create hw7
%!s(int64=2) %!d(string=hai) anos
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 = '')