-
Notifications
You must be signed in to change notification settings - Fork 10
/
index-silent.html
61 lines (60 loc) · 1.34 KB
/
index-silent.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
57
58
59
60
61
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>console.js</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<style>
html,
body {
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
-webkit-tap-highlight-color: transparent;
}
</style>
<script src="js/index-silent.js"></script>
<script src="js/presets/htmlacademy.js"></script>
<script src="js/presets/autoexpand-all.js"></script>
</head>
<body>
<script>
window.jsConsole.addConfig({
common: {
expandDepth: 2
}
});
</script>
<script>
window.jsConsole.addConfig({
function: {
expandDepth: 1
}
});
</script>
<script>
console.log(errorCatchedBeforeDOMContentLoaded)
</script>
<script>
setTimeout(() => {
console.log(errorCatchedAfterDOMContentLoaded)
}, 3000)
</script>
<script>
const obj = {};
const arr = [obj];
const fn = (bar = 123) => {
return bar;
};
arr.push(arr);
arr.fn = fn;
fn.arr = arr;
fn.obj = obj;
fn.fn = fn;
obj.obj = obj;
obj.arr = arr;
obj.fn = fn;
console.log(obj);
console.dir(fn);
console.log(arr);
</script>
</body>
</html>