Skip to content

Commit f341f30

Browse files
committed
REPL/README and Create learn1.js, ['Documentation', 'File.js']{'Change', 'Create'}('Drian')
1 parent 9eb369c commit f341f30

File tree

2 files changed

+35
-0
lines changed

2 files changed

+35
-0
lines changed

REPL/README.md

+33
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,36 @@
11
# REPL
22

33
REPL stands for Read-Evaluate-Print-Loop, and it's a great way to explore the Node.js features in a quick way.
4+
5+
## Open your Gitbash and run
6+
7+
```bash
8+
node
9+
```
10+
11+
Now you can write Javascript code on your terminal!
12+
Example:
13+
14+
```bash
15+
> console.log("Hello World");
16+
```
17+
18+
```bash
19+
> const name = "Drian";
20+
```
21+
22+
```bash
23+
> name
24+
```
25+
26+
Type '.help' for more information
27+
28+
```bash
29+
> .help
30+
```
31+
32+
To exit REPL you can run
33+
34+
```bash
35+
> .exit
36+
```

REPL/learn1.js

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
const nama = "Drian";
2+
const umur = 18;

0 commit comments

Comments
 (0)