-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinspector.html
More file actions
46 lines (43 loc) · 1.31 KB
/
inspector.html
File metadata and controls
46 lines (43 loc) · 1.31 KB
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
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width">
<link href="https://maeyler.github.io/JS/sss/inspector.css"
rel="stylesheet" media="all">
<script src="https://maeyler.github.io/JS/sss/inspector.js"></script>
<script src="c4_data.js"></script>
<title>Inspector </title>
</head>
<body>
<p><b id=docName></b>
<a href="https://maeyler.github.io/JS/sss/">Read me</a>
<a href="https://maeyler.github.io/JS/sss/Turkish">Turkish</a>
</p>
<script>
"use strict";
var a, c, code; //global variables
function init() {
let s = "Small is beautiful", d = new Date(),
len = 123, name = "Circle", pi = Math.PI,
sqrt = Math.sqrt, power = Math.pow;
a = [0, 11, "22", "abc"];
c = {len, name, pi, sqrt, power};
let menu = {s, d, a, c, window, JOURNAL, EVENTS};
MENU = new Chap4(); //global
for (let k in menu) MENU[k] = menu[k];
display(MENU);
}
docName.innerText = document.title+" "+VERSION;
try {
inspect(document.body, init); //makes the table
//inp.value = "new Number(c.pi)";
code = document.createElement("pre");
document.body.appendChild(code);
code.innerText = Entry;
} catch(e) {
reportError(e);
}
</script>
</body>
</html>