-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
56 lines (33 loc) · 947 Bytes
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<!DOCTYPE HTML>
<html>
<head>
<title>Higher order functions</title>
<meta charset = "UTF-8">
</head>
<body>
<h2>Array Prototype</h2>
<input type = "text" id = "data" value = "olleh">
<br>
<br>
<button onclick = "ForEACH()">FOREACH </button>
<button onclick = "MAP()">MAP </button>
<button onclick = "FILTER()">FILTER </button>
<br>
<br>
<div id = "results_one"></div>
<br>
<br>
<button onclick = "REDUCE()">REDUCE </button>
<button onclick = "ReduceRIGHT()">REDUCE RIGHT </button>
<button onclick = "SORT()">SORT </button>
<br>
<br>
<div id = "results_two"></div>
<br>
<br>
For more explanation please visit -
<a href = "https://github.com/Incrementis/Javascript-higher-order-functions-/wiki">
Higher order functions Wiki</a>
</body>
<script language = "javascript" type = "text/javascript" src = "high.js"></script>
</html>