NAMA : LISA YULINAR SYAVIRA
NIM : 1117101503
INDEX.html
<!DOCTYPE html>
<html>
<head>
<title> Belajar Javascript : Tugas Array Lanjutan Kelompok 3</title>
</head>
<body>
<script src = "coding.js"></script>
</body>
</html>
CODING.js
var angka = ["4.3","5.2","6.1","7.0","7.9","8.7","9.5","10.6"];
document.write(angka);
document.write("<br>");
angka.pop();
document.write(angka);
document.write("<br>");
angka.pop();
document.write(angka);
document.write("<br>");
angka.pop();
document.write(angka);
document.write("<br>");
angka.pop();
document.write(angka);
document.write("<br>");
angka.pop();
document.write(angka);
document.write("<br>");
angka.pop();
document.write(angka);
document.write("<br>");
angka.pop();
document.write(angka);
document.write("<br>");
angka.pop();
document.write(angka);
document.write("<br>");
angka.pop();
document.write(angka);
GRAFIK
|
Banyaknya
|
|
1
|
2
|
3
|
4
|
5
|
6
|
7
|
8
|
|
4,3
|
5,2
|
6,1
|
7,0
|
7,9
|
8,7
|
9,5
|
10,6
|
|
0
|
1
|
2
|
3
|
4
|
5
|
6
|
7
|
|
Index
|
|
|
|
|
|
|
|
|
|
Max_Stack
|
8
|
|
|
|
|
|
|
|
Top
|
7
|
|
|
|
|
|
|
|
IsEmpty
|
F
|
|
|
|
|
|
|
|
IsFull
|
T
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Pop (10,6)
|
|
1
|
2
|
3
|
4
|
5
|
6
|
7
|
8
|
|
4,3
|
5,2
|
6,1
|
7,0
|
7,9
|
8,7
|
9,5
|
|
|
0
|
1
|
2
|
3
|
4
|
5
|
6
|
7
|
|
Index
|
|
|
|
|
|
|
|
|
|
Max_Stack
|
8
|
|
|
|
|
|
|
|
Top
|
6
|
|
|
|
|
|
|
|
IsEmpty
|
F
|
|
|
|
|
|
|
|
IsFull
|
F
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Pop (9,5)
|
|
1
|
2
|
3
|
4
|
5
|
6
|
7
|
8
|
|
4,3
|
5,2
|
6,1
|
7,0
|
7,9
|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