summaryrefslogtreecommitdiff
path: root/tests/examplefiles/nodejsrepl/nodejsrepl_test.nodejsrepl
blob: 7679d9ce9f30b095c729b3d9388b89d7a032cf72 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Node.js REPL Session
> let a = 3
undefined
> a
3
> let b = '4'
undefined
> b
'4'
> b == a
false
> b === a
false
> if(a) {
...   console.log(a)
... }
3
undefined
> c
Uncaught ReferenceError: c is not defined