We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a1f4dfc commit ee3b48eCopy full SHA for ee3b48e
javascript.md
@@ -16,6 +16,21 @@ Javascript(JS) is a object-oriented programming language which adhere to ECMA Sc
16
17
# Syntax help
18
19
+## STDIN Example
20
+
21
+```javascript
22
+var readline = require('readline');
23
+var rl = readline.createInterface({
24
+ input: process.stdin,
25
+ output: process.stdout,
26
+ terminal: false
27
+});
28
29
+rl.on('line', function(line){
30
+ console.log("Hello, " + line);
31
32
+```
33
34
## variable declaration
35
36
|Keyword|Description|Scope|
@@ -27,7 +42,7 @@ Javascript(JS) is a object-oriented programming language which adhere to ECMA Sc
42
## Backtick Strings
43
44
### Interpolation
-```
45
46
let greetings = `Hello ${name}`
47
```
48
### Multi line Strings
0 commit comments