-
Notifications
You must be signed in to change notification settings - Fork 3
/
print_function_test.txt
81 lines (80 loc) · 1.16 KB
/
print_function_test.txt
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
_____ _
| __|___ ___ ___ _ _|_|___ ___
| __|_ -| . | _| | | | | . |
|_____|___| _|_| |___|_|_|_|___|
|_| http://espruino.com
1v67 Copyright 2014 G.Williams
>echo(0);
---
null
line 1
Line 2
return 2
tab
pretab posttab
'
joey's
joez's
"
joe "the ripper"
joez"
bacspace
formeed
---
true
true false
true
[true,false,true,true]
---
7
2 5
3
[3,5,12,-10,0]
---
23.23
532.32 2321.21312100000
3.14
[232.21312099999,111.010101,-0.0001,0,1.999999]
---
Hello
Hello world
Joe Doe
[
"Hello",
"John",
"and",
"Jane",
"Doe"
]
---
function () { return("x"); }
function () { return(42); }
---
Hello false 4 122.23121211000 function () { return(1); }
[
"Hello",
true,1,3,14,
function () { return(false); }
]
---
{"a":1,"b":false}
{
"firstName":"John",
"lastName":"Doe",
"age":50,
"eyeColor":"blue",
"getAge":function () {
this.age++;
return(this.age);
}
}
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
=undefined
Uncaught SyntaxError: Got ')' expected EOF
at line 1 col 94
...", "13", "14", "15", "16", "17");
^
at line 1 col 98
...13", "14", "15", "16", "17");
^
>