-
Notifications
You must be signed in to change notification settings - Fork 64
Expand file tree
/
Copy pathdemo.html
More file actions
39 lines (39 loc) · 977 Bytes
/
demo.html
File metadata and controls
39 lines (39 loc) · 977 Bytes
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>debug.js - binnng</title>
<script type="text/javascript" src="debug.js"></script>
<meta name="viewport" content="initial-scale=1, width=device-width, maximum-scale=1, user-scalable=no">
</head>
<body style="background: #eee">
<script type="text/javascript">
var test = {
1: "value1",
"2": "value2",
count: 3,
person: [
{
id: 1,
name: "张三"
},
{
id: 2,
name: "李四"
}
],
object: { //对象结构JSON对象
id: 1,
msg: "对象里的对象"
}
};
debug(111);
debug.success(test);
debug.success("This is success message:)");
debug.error("This is error message:)");
debug.log("This is primary message:)");
debug.log({a: 1, b: 2});
debug.log([1,2,3]);
</script>
</body>
</html>