Public
Script
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
console.assert(2 + 2 === 4, "2 + 2 === 4");
console.assert(2 + 2 === 5, "2 + 2 === 5");
console.clear();
console.count("count");
console.count("count");
console.countReset("count");
console.count("count");
console.debug("debug");
console.dir({ dir: { hello: "world" } });
console.dirxml("dirxml");
console.error("error");
console.group("group");
console.groupCollapsed("groupCollapsed");
console.groupEnd();
console.groupEnd();
console.info("info");
console.log("log");
console.log("%c%s%c%s%o", "color:red", "log", "background-color: #00c;color:#fff", "log", "log", "log");
console.profile();
console.profileEnd();
console.table([[1, 2], [3, 4]]);
console.time("time");
console.timeLog("time");
console.timeEnd("time");
console.timeStamp("timeStamp");
console.trace("trace");
console.warn("warn");
Val Town is a social website to write and deploy JavaScript.
Build APIs and schedule functions from your browser.
Comments
Nobody has commented on this val yet: be the first!
March 7, 2024